I recently upgraded from php 4.4 to php 5.1.4. After doing so I receive the following error:
Call to undefined function mysql_pconnect()
This function was working fine until the upgrade.
Well, I am using PHP 5.1.4 as well, I use mysql_pconnect in all my connect files and it works perfectly. So it is definitely not PHP 5.1.4's fault.
That is because by default PHP 5 uses mysqli and turns off mysql support. So look at your php.ini and uncomment the mysql.dll
PHP does not have mysqli or mysql by default, they both have to be specifically enabled when it's built.
Does your build not have them already installed? Did you compile it yourself?
Mark
I downloaded the 5.1.4 installer for windows from php.net and selected standard install.
I uncommented the mysql.dll and this did the trick
Well if you don't mind then click the resolved available under thread tools.