Forum Moderators: coopster

Message Too Old, No Replies

mysql_pconnect errors

Fatal Error:

         

theriddla1019

3:18 pm on Nov 5, 2004 (gmt 0)

10+ Year Member



Fatal error: Call to undefined function: mysql_pconnect() in SYS:/Apache2/htdocs/auditor/main/login.php on line 10
This has kinda thrown me for a loop, everything was up and running fine yesterday. When we came in this morning the login was disabled on the netware server and we are having problems with loading mysql through php. Mysql itself is loaded and works fine, through access based programs, and php itself works fine running functions etc. But trying to access the database through mysql in php comes up with a fatal error. Any ideas?

theriddla1019

4:36 pm on Nov 5, 2004 (gmt 0)

10+ Year Member



Well we ended up copying over the php.ini file from wednesday's backup and everything if back to normal, i still would like to find out why this happened.

mysql.allow_persistent = On

was set correctly,

and the mysql module was loaded correctly

extension=phpmysql.nlm

but something in the php.ini file was changed somehow for some reason...*boggled*

bcolflesh

4:38 pm on Nov 5, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



but something in the php.ini file was changed

Did you do a diff and pinpoint what was changed? Did you grep the logs and find out what/who touched the file?

theriddla1019

9:40 pm on Nov 5, 2004 (gmt 0)

10+ Year Member



havent had time to yet, its been a busy day.
if i find anything ill post it though.