Forum Moderators: phranque

Message Too Old, No Replies

cant use php files on apache2

         

sl0k

1:59 pm on Dec 29, 2004 (gmt 0)



i have apache2 and php5 installed on debian(sarge)
when I try to access php files it just posts them to me instead of executes them first ..

i have in /usr/local/apache2/conf/httpd.conf

LoadModule php5_module modules/libphp5.so
...
AddType application/x-httpd-php .php

jdMorgan

5:45 pm on Dec 29, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



sl0k,

Welcome to WebmasterWorld!

You might want to look into using AddHandler (see Apache mod_mime), since it appears that mod_php is not being invoked.

Jim