01 yum install httpd (if it isn't already installed--yum checks for you)
02 yum install mysql-server (if it isn't already installed--yum checks for you)
03 yum install php
04 yum install php-mysql
05 yum install php-mbstring
06 yum install php-pear
07 yum install php-devel (* see explanation at the bottom of this page)
08 yum install yum-priorities (*)
09 rpm -hUv http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm (*)
10 yum install php-pecl-zip (*)
11 yum install php-gd (Optional, for automatic image resizing and manipulation)
12 yum install php-ldap (Optional, if you need LDAP support)
Step 2: Environment considerations
Note that in some versions of CentOS, a firewall is installed by default which will block access to port 80, on which Apache runs. The following command will open this port:
1 iptables -I RH-Firewall-1-INPUT -p tcp --dport 80 -j ACCEPT
You might as well have to install unzip to handle eFront's bundle:
1 yum install unzip
0 comments:
Post a Comment