You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Billy Duke <du...@livingston.net> on 2005/08/09 09:18:14 UTC

[users@httpd] httpd file config

Hello again,
I am trying to get all of the bugs out of my install. I found that I was still using php4 instead of php5 and wanted to change that.I made sure I had the correct php.ini installed in C:\Windows and i got a message saying that there were two different module complieings. So I went snooping around in my httpd.conf file and found that I was still trying to use the old dll's so I replaced these lines;

LoadModule php4_module C:\php\php4apache2.dll
AddType application/x-httpd-php .php4 .php .htm .php3 .inc .fire
AddType application/x-httpd-php-source .phps

with these lines;


LoadModule php5_module C:\PHP1\php5apache2.dll
AddType application/x-httpd-php .php4 .php .htm .php3 .inc .fire
AddType application/x-httpd-php-source .phps
PHPIniDir C:/PHP


They are two totlay seperate php folders. I took everything to do with php4 and put it all in the php4 folder so no files are in any system path. I am running on windows XP.

[users@httpd] Help Server Wont Start

Posted by Billy Duke <du...@livingston.net>.
Hello again,
When I try to restart the server I get a message saying that the server couldn't be started. This are the things I'v done.
I am trying to get all of the bugs out of my install. I found that I was still using php4 instead of php5 and wanted to change that.I made sure I had the correct php.ini installed in C:\Windows and i got a message saying that there were two different module complieings. So I went snooping around in my httpd.conf file and found that I was still trying to use the old dll's so I replaced these lines;

LoadModule php4_module C:\php\php4apache2.dll
AddType application/x-httpd-php .php4 .php .htm .php3 .inc .fire
AddType application/x-httpd-php-source .phps

with these lines;


LoadModule php5_module C:\PHP1\php5apache2.dll
AddType application/x-httpd-php .php4 .php .htm .php3 .inc .fire
AddType application/x-httpd-php-source .phps
PHPIniDir C:/PHP


They are two totlay seperate php folders. I took everything to do with php4 and put it all in the php4 folder so no files are in any system path. I am running on windows XP.