Jump to content

Apache/1.3.41, PHP/5.2.5, mod_perl/1.30 Install issue


Recommended Posts

I've had Apache 1.3 and mod_perl running on my linux server for over a year now.  Recently I decided to add PHP to it.  I re-compiled Apache using this Howto http://perl.apache.org/docs/1.0/guide/install.html#mod_perl_and_mod_php  so now when I start Apache it loads the two modules as displayed in my logfile.

 

[Thu Jun 25 12:45:24 2009] [notice] Apache/1.3.41 (Unix) PHP/5.2.5 mod_perl/1.30 configured -- resuming normal operations

 

I added the AddType application/x-httpd-php .php to the mime section of my httpd.conf, however, whenever I try to display phpinfo my browser tries to download the file instead of displaying it.  I've tried using FF and IE to display the page, both have the same behavior.  I've also tried using the AddHandler to the conf file, but that doesn't help either.  I'm not sure what else I can do to get this going.  Please let me know if you need anymore information.  Any help would be greatly appreciated.

Link to comment
Share on other sites

No help on this, huh? 

 

All online help points to using the AddType application/x-httpd-php .php in the httpd.conf file.  But when I do that, my browser tries to download the file.  This happens in FF and IE

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.