Sounds like somethings wrong with the httpd.conf:Originally Posted by Radio_Head
/usr/local/apache/conf/httpd.conf
look for the following:
#LoadModule php5_module libexec/libphp5.so
#AddModule mod_php5.c
--the modules should be commented out and handlers put in (you can run the modules if you wish, but I find it's best otherwise)
DirectoryIndex index.html index.wml index.cgi index.shtml index.jsp index.js index.jp index.php4 index.php3 index.php index.phtml index.htm default.htm default.html home.htm
AddHandler application/x-httpd-php .php .php5 .php4 .php3
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php5
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .phtml
without the the AddTypes, apache wont know what to do with php files so it assumes it's just a file, the browser doesn't recognize the filetype so it assumes it should just save it.



LinkBack URL
About LinkBacks
Reply With Quote





