Installation, Configuration, & Upgrades  :: 
MySQL PHP issue
 Top

  • Hello, I am receiving the same error that many people have reported:

    Fatal error: Call to undefined function mysql_pconnect() in C:\websites\meteorain.ca\HTML\install\newinstall.php on line 37

    I have checked my PHP configuration and the php_mysql extension is loaded and the extension_dir is set correctly yet I am still receiving this error. Can anyone provide further insight into what might be causing this error?

    Thanks
  • I also tried doing a "phpinfo();" on the webserver to determine the PHP configuration. For some reason, it doesn't match my php.ini configuration. My extension_dir is set to c:\PHP\ext but the phpinfo reports c:\php5. It also does not show the mysql module being loaded... I am thoroughly confused.
  • As you've found out, the mysql extension isn't loaded. In PHP 5 it's not enabled by default and you have to modify your php.ini yourself. Additionally, you'll need to restart apache before any changes made to php.ini take effect.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
This list is based on the users active over the last 60 minutes.