Zend - The PHP Company

Installing Nginx and Zend Server

Zend Server 6.1 makes installing NGINX easy!

NGINX is the fastest growing Web server in the world and second in adoption only to Apache.

Zend Server 6.1 and NGINX combine on Linux to make the most powerful “out of the box” PHP stack available and getting started is EASY!

Point your browser to the Zend Server Download Page (http://www.zend.com/products/server/downloads) - make sure the “Linux” tab is selected.

Then, download the Installer Script.

When the download has finished, decompress the .tar.gz file to a location that will be convenient to access from a Linux terminal window.

Next, open a terminal, and cd (change directory) to the location where you decompressed the Zend Server Installer Script. If you took the defaults, the directory name will be ZendServer-Repositoryinstaller-linux.

Now run the installer script specifying the version of PHP that you want to run, and that you want to use NGINX as your web server:

./install_zs.sh 5.4 nginx

The installer will begin performing its magic, pausing on occasion to ask you to accepts some defaults. If you like, you can append the --automatic command line directive to automatically accept all the defaults.

If you're interested in the behind the scenes details, what the Zend Server Install script is doing under the covers is exactly what you would do “manually”.

It determines whether it's running on a system that supports DEB packaging or RPM packaging. Then it adds the required repositories to the .repo or .list files.

Next it fetches the necessary public key(s) to be used for package verification.

Finally the script invokes the appropriate installation command depending on the time of system you are running on (aptitude or yum). This means you can re-install and update using the conventional Linux Tools.

When the installer completes you can point your browser at http://localhost to confirm that the installation has completed successfully.

For most development purposes the NGINX default configuration will suit just fine. More information about configuring NGINX can be found here: http://nginx.org

Next we can point our browser at http://localhost:10081, and begin the configuration of Zend Server as usual. (More information about setting up Zend Server can be found at http://devzone.zend.com/2753/installing-and-configuring-zend-server-6-on-apple-mac-osx/ - the screen shots are from installing on a Mac but the steps to get started with the installed Zend Server are the same.)

To check out the Zend Server documentation, see here: http://files.zend.com/help/Zend-Server-6/zend-server.htm

For documentation on NGINX, see http://nginx.org/en/docs/


Visit Zend Server Forum



Application Leadership Today -- DevOps: Agile Delivery for Competitive Edge



Discover how Zend Server 6 bridges the Devops chasm



Learn how Offers.com used the Zend solutions to build and manage a highly successful e-commerce website



Read how Zend Server can ensure application success



Continuous Delivery Best Practices: Delivery Apps Rapidly, iteravitely, and Consistently.


Customer Quote

   Leveraging Zend Server’s capabilities and SDK allowed us to simplify the scripting and packaging mechanisms for the deployment of our code and to effortlessly support server clusters, enabling non-expert users to initiate deployments. This ensured extra control and the flexibility essential for Novadex to stay at the forefront of cloud based business communication management.   

Andreas RossbachCTO, Novadex

   Our provisioning scripts and the fully laid-out functionality of Zend deployment eliminated a lot of manual processes. Between Zend Server and Zend’s ongoing support, we’ve also gotten a lot of experience on how to do better performance testing.   

Luis ColonDirector of Enterprise Architecture, CDS Global

   With Zend Server, you can have multiple applications running on the same server, whereas other models allow just one application per server. This translates into cost savings for us because our development QA testing server has 12 apps running on it in parallel, and with Amazon Cloud our server costs are our biggest expense.    

Jonathan MarstonVice President of Engineering, EnglishCentral