Our next step will be to download and install Zend Server CE; I am running Ubuntu 12.04 Precise Pangolin. The installation procedure for other operating systems could be different; you can always refer to the Zend Server website for installation instructions. The following are the steps to install the Zend Server CE:
Visit the Zend Server Community Edition website (http://www.zend.com/en/community/zend-server-ce) and download the latest version of Zend Server that is applicable to your operating system. In this case, we will be downloading the Linux installer.
Once the installer is downloaded, extract the contents of the installer to a temporary location:
$ tar -zxvf ZendServer-5.6.0-RepositoryInstaller-linux.tar.gz
After extracting, the installer needs to be started with administrator privileges:
$ cd ZendServer-RepositoryInstaller-linux/ $ sudo ./install_zs.sh 5.3 ce
During the installation, the installer will request you to download various packages:
Zend Server will be installed into
/usr/local/zend
by default; the default document root will point to/var/www
. You can use the following files to make configuration changes to the Zend Server instance:Apache master configuration is available in
/etc/apache2/apache2.conf
PHP configuration is controlled by
/var/local/zend/etc/php.ini
The following screenshot shows the installed location of Zend Server:
Once the installation is completed, you should be able to open
http://localhost
on your web browser. This should take you to a test page like the one shown in the following screenshot:
Zend Server CE is installed and ready to be used. Now we have a web server and a compatible version of PHP running—this satisfies the core requirements for running Zend Framework 2.0.
We will be using Git to check out Zend Framework from Github; one of the major changes that happened to Zend Framework 2.0 is that the source control has changed from SVN to Git.
Your next task will be to install Git. We will be making use of Git when we are setting up our Zend Framework project.
Tip
Git binaries can either be downloaded from http://www.git-scm.com/ or installed from your operating system's repositories.
Installation instructions for Git can be found at the following link:
Our next step will be to set up Zend Server CE and make some configuration changes that will enable us to run other PHP applications.
Zend Server CE's Administration Interface is a web-based user interface that provides the following features:
Managing PHP extensions
Configuring PHP directives
Managing Zend Server components
Monitoring PHP status, extension status, and application/server logs
In our next task, we will be making a configuration change to Zend Server by using its Administration Interface.