PDA

View Full Version : Perfect Setup FC4 - apache + php problem


pine
23rd February 2006, 20:10
I followed the steps faithfully as outlined in the Perfect Setup for FC 4 directives.
Almost everything works well except for a few, one of which is a problem with executing .php files. The specific directive I followed:
----------------------------------------------------------------------------------------------------------
Apache With PHP5

apt-get install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel

Now edit /etc/httpd/conf.d/php.conf and comment out the AddHandler and AddType lines:
-----------------------------------------------------------------------------------------------------------

I had to uncomment the items and put them back to work. Now I can execute .php files. Why do we have to comment out those items to begin with?

:p

till
23rd February 2006, 21:01
You have to comment them out because otherwise you wont be able to enable / disble PHP on a per site basis in ISPConfig.

pine
23rd February 2006, 21:29
You have to comment them out because otherwise you wont be able to enable / disble PHP on a per site basis in ISPConfig.

Thank you for your prompt reply. I have not gotten that far in my setup. Now that I know the reason, I can rest assured that I have not done a terrible thing by uncommenting those item. :p