Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd February 2006, 20:10
pine pine is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Question Perfect Setup FC4 - apache + php problem

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?


Last edited by pine; 23rd February 2006 at 20:12.
Reply With Quote
Sponsored Links
  #2  
Old 23rd February 2006, 21:01
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,791
Thanks: 840
Thanked 5,612 Times in 4,423 Posts
Default

You have to comment them out because otherwise you wont be able to enable / disble PHP on a per site basis in ISPConfig.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 23rd February 2006, 21:29
pine pine is offline
Junior Member
 
Join Date: Feb 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till
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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
"unknown filter" growing apache log. wwparrish Installation/Configuration 6 1st September 2006 19:40
turn off "PHP Scripts" problem after updated php k-dev4edv Installation/Configuration 2 7th February 2006 10:34
Perfect Setup - Fedora Core 3 - saslauthd problem Median Installation/Configuration 28 29th January 2006 19:51
The Perfect Setup - SUSE 9.3/Install apt For SUSE PROBLEM gimhan90 Installation/Configuration 13 27th January 2006 10:34
Problem on Debian Sarge Perfect Setup daniel_rodriguez HOWTO-Related Questions 4 12th January 2006 15:10


All times are GMT +2. The time now is 10:27.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.