Monday, June 18, 2012

Installing Zend Server CE on Fedora 16

First things first, follow the environment setup under the "Manually Installing Zend Server" section at http://files.zend.com/help/Zend-Server/zend-server.htm#rpm_installation.htm

If you attempt the installation steps you will encounter errors about your packages requiring the zend-base package.

However, a `yum install zend-base` will not successfully install the package on your system to resolve this dependency. You must perform this step manually.


Run the following command:
yum info zend-base

You should get output that looks something like this:
Name        : zend-base
Arch        : x86_64
Version     : 5.6.0
Release     : 276
Size        : 2.6 M
Repo        : installed
Summary     : Basic files needed for ZendServer
URL         : http://www.zend.com
License     : Zend
Description : Basic files needed for ZendServer.

Run the following commands, substituting <Tags> with their corresponding values.

wget -O zend-base.rpm http://repos.zend.com/zend-server/rpm/<Arch>/zend-base-<Version>-<Release>.<Arch>.rpm && sudo rpm -Uhv zend-base.rpm

So, with my example output, the URL would be as follows:
http://repos.zend.com/zend-server/rpm/x86_64/zend-base-5.6.0-276.x86_64.rpm


Now you can install Zend Server CE with the following command:

sudo yum install zend-server-ce-php-<PHP Version>

To ensure retrieval of updated packages from the web you can optionally also run:

sudo yum clean all


Make sure, also, that selinux is allowing your lighthttpd and httpd processes to run and do what they need to do.

No comments: