Download the Zend Server (DEB/RPM Installer Script) from zend.com. (An account is required).
un-pack the the tarball (tar -xzfv ZendServer-5.5.0-RepositoryInstaller-linux.tar.gz)
Run ./install_zs.sh 5.3 ce or ./install_zs.sh 5.2 ce depending on which version of PHP you want to run.
Edit your iptables (you are running iptables right?) vi /etc/sysconfig/iptables
Add in a line for the ZendServer lighthttpd server (-A INPUT -m state --state NEW -m tcp -p tcp --dport 10081 -j ACCEPT)
Restart iptables (/sbin/service iptables restart)
Visit (http://YOURSERVERHERE.com:10081/ZendServer/) in a web browser to accept the EULA and set a password.
Alternatively run (/usr/local/zend/bin/zs-setup accept-eula) and (/usr/local/zend/bin/zs-setup set-password YOURSECUREPASSWORD )
If you need to restart Zend Server run /sbin/service zend-server restart. This will restart both apache (httpd) and the LightHTTPD Zend Server gui.
Some important notes before heading off into the wonderful world of Zend Server:
Be sure that your distribution's PHP isn't installed as well as the Zend Server, including the CLI, as it will mess with running php from the command line and who knows what else.
The php binary is located at /usr/local/zend/bin/php, which can be verified by running which php. As such if you need to run php from cron be sure to add this to your path. (I have PATH=$PATH:$HOME/bin:/usr/local/zend/bin in my ~/.bash_profile).
If you need to modify a setting in php.ini you will find it at /usr/local/zend/etc/php.ini. Remember to restart zend server for any changes to take effect.
Beyond those things there isn't too much difference between running zend server and running php from your distribution.
Some important notes before heading off into the wonderful world of Zend Server:
Be sure that your distribution's PHP isn't installed as well as the Zend Server, including the CLI, as it will mess with running php from the command line and who knows what else.
The php binary is located at /usr/local/zend/bin/php, which can be verified by running which php. As such if you need to run php from cron be sure to add this to your path. (I have PATH=$PATH:$HOME/bin:/usr/local/zend/bin in my ~/.bash_profile).
If you need to modify a setting in php.ini you will find it at /usr/local/zend/etc/php.ini. Remember to restart zend server for any changes to take effect.
Beyond those things there isn't too much difference between running zend server and running php from your distribution.
1 comment:
How can i change the default homepage at 10088 port in Zend Server CE
Post a Comment