Error:
Call to undefined function: mysql_pconnect()
Mandrake Linux
PHP 4.2.3
Apache
mySQL 3.23.52
Question how can I find out if php has mySQL addon or is configured correctly?
I ran phpinfo, have no idea what to look for?
The code works on my development system...
Win 2000 pro
Apache
PHP 4.3
mySQL 3.23.54
I think I am missing a hook to mysql in php.
the php.ini has in the extention area
extension = mysql.so
thanks for your help
Call to undefined function: mysql_pconnect()
Moderator: General Moderators
could it be that pconnect has been disabled?
Many shared-hosting admins don't like pconnect..
try make a functions something like

Many shared-hosting admins don't like pconnect..
try make a functions something like
Code: Select all
<?php
function mysql_pconnect ( $host, $user, $pass ) {
return mysql_connect ($host, $user, $pass);
}
?>