Capacitor Posted July 4, 2006 Share Posted July 4, 2006 This is driving me batty.I've installed apache 1.3.36 from source and php 5.1.14but trying to load index.php or admin.php or any .php pages just gives me text.I tried "--with-apache" and "--with-apxs" but claim they do the work properly,but they dont.my httpd.conf shows- LoadModule php5_module libexec/libphp5.sothere is NO "ClearModuleList" in my httpd.conf (grep -i clear shows no result)and no AddType for phpif I add the AddType manually say just below the tgz handler, it still doesn't work.I know I'm missing something insanely stupid, but I can't figure out what it is.This is a brand new install from scratch, nothing else has been done with the files. Quote Link to comment https://forums.phpfreaks.com/topic/13670-apache-1336-and-php-5114-cant-get-it-working/ Share on other sites More sharing options...
Capacitor Posted July 4, 2006 Author Share Posted July 4, 2006 I fixed it!A completely non-obvious and counter-intuitive fix.here's the solution (for me)-the following two lines:AddType application/x-httpd-php .phpAddType application/x-httpd-php-source .phpsMUST be added IMMEDIATELY after the LoadModule line for phpaugh! Quote Link to comment https://forums.phpfreaks.com/topic/13670-apache-1336-and-php-5114-cant-get-it-working/#findComment-53022 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.