jmas9 Posted June 25, 2009 Share Posted June 25, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/163664-apache1341-php525-mod_perl130-install-issue/ Share on other sites More sharing options...
jmas9 Posted June 30, 2009 Author Share Posted June 30, 2009 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 Quote Link to comment https://forums.phpfreaks.com/topic/163664-apache1341-php525-mod_perl130-install-issue/#findComment-866358 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.