Board index   FAQ   Search  
Register  Login
Board index PHP PHP General

mysql_pconnect() issues

General discussions related to php

Moderators: macek, egami, gesf

mysql_pconnect() issues

Postby fennellgb » Tue Nov 26, 2002 10:23 am

Ok, let me start out by saying that I know Linux very well but have never used PHP before. I have been running ColdFusion on Linux for awhile now. Now that we have that out of the way.

I just setup PHP4 on a RedHat 8 box with the following;
MySQL 3.23.53
Apache 2.0.40
PHP4 4.2.2
Kernel 2.4.18-18.8.0


When I try and connect to my MySQL server I receive the following error:
Fatal error: Call to undefined function: mysql_pconnect()

I have looked at my PHP4 settings and it seems to be compiled with MySQL support, so why am I having this problem? Any help would be greatly appreciated.
fennellgb
New php-forum User
New php-forum User
 
Posts: 2
Joined: Tue Nov 26, 2002 10:12 am
Location: Pittsburgh, PA

Re: mysql_pconnect() issues

Postby WiZARD » Tue Nov 26, 2002 10:46 am

fennellgb wrote:Ok, let me start out by saying that I know Linux very well but have never used PHP before. I have been running ColdFusion on Linux for awhile now. Now that we have that out of the way.

I just setup PHP4 on a RedHat 8 box with the following;
MySQL 3.23.53
Apache 2.0.40
PHP4 4.2.2
Kernel 2.4.18-18.8.0


When I try and connect to my MySQL server I receive the following error:
Fatal error: Call to undefined function: mysql_pconnect()

I have looked at my PHP4 settings and it seems to be compiled with MySQL support, so why am I having this problem? Any help would be greatly appreciated.

Try rebuild PHP. All your problem only with PHP...
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Postby fennellgb » Tue Nov 26, 2002 11:00 am

I have done this to many times to count. Thanks for the advice, but I am way past normal troubleshooting. Is there anything else that I can fix, beat, smash, or punch?

I also noticed that I have the mysql.so file located in the /usr/lib/php4/ folder. Hence it should be working...

As you can see I am lost...
fennellgb
New php-forum User
New php-forum User
 
Posts: 2
Joined: Tue Nov 26, 2002 10:12 am
Location: Pittsburgh, PA

Postby WiZARD » Fri Dec 13, 2002 12:46 am

fennellgb wrote:I have done this to many times to count. Thanks for the advice, but I am way past normal troubleshooting. Is there anything else that I can fix, beat, smash, or punch?

I also noticed that I have the mysql.so file located in the /usr/lib/php4/ folder. Hence it should be working...

As you can see I am lost...

maby proble in path?
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron