Now we install Apache with PHP (this is 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
Then edit /etc/httpd/conf/httpd.conf:
vi /etc/httpd/conf/httpd.conf
and change DirectoryIndex to
[...] DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl [...]
Now configure your system to start Apache at boot time:chkconfig --levels 235 httpd onStart Apache:/etc/init.d/httpd startINSTALL MYSQL:
yum1 install mysql mysql-devel mysql-server
No comments:
Post a Comment