Barrievans Posted January 13, 2010 Share Posted January 13, 2010 PHP ver 5.2.12 - Windows7 64 bit with Apache2.2 Info says that the configuration file path is C:\windows and that no configuration file is loaded I have a PHP.INI fil in c:\PHP5 and one in c:\windows My Httpd.conf file has the following entries LoadModule php5_module "c:/php5/php5apache2_2.dll" AddType application/x-httpd-php .php # configure the path to php.ini PHPIniDir "C:/php5" Bottom line is that I get a Fatal error: Call to undefined function mysql_connect() in when trying to connect to mysql Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted January 13, 2010 Share Posted January 13, 2010 After changing httpd.conf, did you stop and start the web server to get the change to take effect? Quote Link to comment Share on other sites More sharing options...
Barrievans Posted January 13, 2010 Author Share Posted January 13, 2010 I restarted the computer and the re checked phpinfo - no change Quote Link to comment Share on other sites More sharing options...
Barrievans Posted January 13, 2010 Author Share Posted January 13, 2010 Apologies - went to services and restarted service - has now loaded PHP.INI Saga continues Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.