Jump to content

Apache 1.3.37 & PHP 4.1.1 Install Issue


Recommended Posts

I am trying to get Apache 1.3.37 and PHP 4.1.1 to work together. I have had no problems with current versions installing and working fine. I need to get these versions working to test some old php sites. IIS 6 seems to give me nothing but problems with 4.1.1.

 

Here is what I have done.

On test machine running XP PRO SP2

 

Installed Apache 1.3.37 to c:\apache

Unzipped PHP4.1.1 to c:\php4

Added c:\php4 to PATH

 

Edited php.ini

doc_root =c:\apache\htdocs

extension_dir = c:\php4\extensions

 

Edited httpd.conf

LoadModule php4_module c:/php4/sapi/php4apache.dll (in loadmodules area)

AddType application/x-httpd-php .php (in add types area)

 

Stopped and restarted the service. Rebooted. Nothing seems to get my testpage with <?php phpinfo();?> to load. Apache is showing up fine when I go to http://localhost. But when I try http://localhost/phpinfo.php insted of the page loading it asks me to download the file. I dont know what I am doing wrong but it seems as if the phpapache module is not loading. Any Ideas?

 

 

 

 

 

 

 

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/52287-apache-1337-php-411-install-issue/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.