(Why install php5.2.17 this version because phpweb this program used to Zend Optimizer3.3.9 this east has stopped updating the highest support 5.2 version of PHP so there was a night pits himself and summed up this article)
CENTOS6 Yum By default no 5.2.17 online said to use the source of atomic to install the results loaded is more than 5.4 version, so they manually installed
First download RPM Package: Click to download wget http://km.snippetinfo.net/download/259/53827ad1fb7184015470fad9def3181e/php-5.2-x64.zip
1Yum install libxpm.so.4Libt1.so.5autoconf Automake GD2 3RPM-IVH php-5.2. --1. el6.art.x86_64.rpm4RPM-IVH php-cli-5.2. --1. el6.art.x86_64.rpm5RPM-IVH php-common-5.2. --1. el6.art.x86_64.rpm6RPM-IVH php-devel-5.2. --1. el6.art.x86_64.rpm7 8RPM-IVH php-gd-5.2. --1. el6.art.x86_64.rpm9RPM-IVH php-ldap-5.2. --1. el6.art.x86_64.rpmTenRPM-IVH php-mbstring-5.2. --1. el6.art.x86_64.rpm OneRPM-IVH php-mysql-5.2. --1. el6.art.x86_64.rpm ARPM-IVH php-pdo-5.2. --1. el6.art.x86_64.rpm -RPM-IVH php-xml-5.2. --1. el6.art.x86_64.rpm -RPM-IVH t1lib-5.1.2-6. El6_2.1. x86_64.rpm
Note: The above command execution procedure may prompt errors generally is the first to shelve the error the installation command installs below first then looks back installs the good
Installing Zend Optimizer3.3.9
Http://www.zend.com/en/products/guard/downloads
X86:wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz
X64:wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
This version is there is no install file, so you manually configure
First select the downloaded package according to the system version I'm x64 's system, so I'm extracting 64 bits.
Tar zvxf zendoptimizer-3.3.9-linux-glibc23-x86_64.tar.gz
CD zendoptimizer-3.3.9-linux-glibc23-x86_64/data/
This time to see
Several versions I'm 5.2 series so
CD 5_2_x_comp
First create the next Zend Directory
mkdir/usr/local/zend/
Mkdir/usr/local/zend/lib
Then copy so file past
CP Zendoptimizer.so/usr/local/zend/lib
Then configure the Zend path in the php.ini file
Because my php.ini is in/etc,
Vi/etc/php.ini
SHIFT + G jumps to the last
Input I into edit mode
Then write the configuration information
Zend_optimizer.optimization_level=15
Zend_extension=/usr/local/zend/lib/zendoptimizer.so
and then save
Execute php-v to see the error? Description Zendoptimizer configuration and load success
Then configure the Jexus server to support PHP
<!--ad time: Jexus is a robust and robust free-to-use Linux ASP. Jexus is based on. NET-compatible environment, running on the Linux/unix operating system to support high-performance Web servers with ASP. -
Because Jexus is supported fastcgi and the VPS also use Jexus to reverse the site has a Web server is too lazy to load anything else so first configure Jexus CGI access
Modify the php.ini configuration first
Vi/etc/php.ini
Find Cgi.force_redirect=1 to change the value to 0
Save and then Cd/usr/jexus
VI jws.conf
Configure the phpcgi path php-fcgi.set=/usr/bin/php-cgi,6 I put it under/usr/bin by default.
Save
Then modify a Web site profile to enable PHP
Add Fastcgi.add=php|socket:/var/run/jexus/phpsvr
Save
JWs Restart Restart Jexus
Get it done and install MySQL on your own with Yum and throw the Phpweb program into the web directory and run happily.
Build php5.2.17+zend Optimizer3.3.9+jexus Environment under Centos 6.6