Guardian-Mage Posted August 1, 2007 Share Posted August 1, 2007 I have Apache and PHP installed already. They work fine. I tried to install MySQL 5. Everything went downhill. None of the tutorials I read help. First of all, here is what my PHP directory looks like: http://www.NorthernLightstech.com/myphp.png From what I can tell I should have a lot more files but I don't. That is a plain installation, I have modified nothing. My PHP.ini file is here: http://www.NorthernLightstech.com/php.ini.txt and my apache 2.2 http.conf file http://www.NorthernLightstech.com/httpd.conf.txt And I haven't touched my MySQL installation. Please help Quote Link to comment https://forums.phpfreaks.com/topic/62869-solved-configuring-mysql-5-with-apache-22-with-php-523/ Share on other sites More sharing options...
wildteen88 Posted August 1, 2007 Share Posted August 1, 2007 I guess you have used the installer. The installer doesn't come with all the files. Download the zip package on the php.net download page and then extract the zip contents into the installation folder for PHP overwriting existing files. Also remove the following lines in the httpd.conf: LoadModule php5_module "d:/Program Files/php/php5apache2_2.dll" AddType application/x-httpd-php .php PHPIniDir "D:\Program Files\php" For some reason they are in there. PHP is installed in C: not D: and the correct config lines have been added at the bottom of the httpd.conf by the installer. Now add this line: PHPIniDir "C:\\Program Files\\php" at the bottom of the httpd.conf after this line: LoadModule php5_module "C:\\Program Files\\php\\php5apache2_2.dll" Once you have done that restart Apache. Quote Link to comment https://forums.phpfreaks.com/topic/62869-solved-configuring-mysql-5-with-apache-22-with-php-523/#findComment-312964 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.