FC6: Adding PHP support to Apache

From MyWiki

Jump to: navigation, search

These directions taken from: http://www.howtoforge.com/installing_a_lamp_system_with_fedora_core_6_p5

Install PHP:

yum 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

Configure Apache to recognize PHP index files:

vi /etc/httpd/conf/httpd.conf

and change the value for DirectoryIndex to:

DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl
Personal tools