Wednesday, July 20, 2011

CentOS install Zend Server CE

Follow the official guide "RPM Installation (RHEL, CentOS, Fedora and OEL)" first.

I install Zend Server CE with "Manually Installing Zend Server" guide. But my Zend Server repository is downloaded from here, enter the Linux tab, download the "Zend Server (DEB/RPM Installer Script)" package. Use the "zend.rpm.repo" repository file.

Then, you can finish the installation with "yum install zend-server-ce-php-5.3"

Link the /usr/bin/php to /usr/local/zend/bin/php
ln -s /usr/local/zend/bin/php /usr/bin/php
Or use "ln -f -s /usr/local/zend/bin/php /usr/bin/php"

Troubleshooting:
1. "Cannot load /usr/local/zend/lib/apache2/libphp5.so into server"
    solution: close SELINUX, /etc/selinux/config >> SELINUX="disabled"

No comments: