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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.