Zend Server CE Centos 5.5 via Yum

This is mostly for my reference since you can find the instructions on Zend’s Website here: http://files-source.zend.com/help/Zend-Server-Community-Edition/zend-server-community-edition.htm

I follow the instructions for Manually “Installing Zend Server Community Edition” here http://files-source.zend.com/help/Zend-Server-Community-Edition/zend-server-community-edition.htm#rpm_installation.htm

log in as root, disable SE Linux, make sure you have Apache and MySQL installed.

Create the Zend Repository.

vi /etc/yum.repos.d/zend.repo

paste the contents into the file.

[Zend]
name=Zend Server
baseurl=http://repos.zend.com/zend-server/rpm/$basearch
enabled=1
gpgcheck=1
gpgkey=http://repos.zend.com/zend.key

[Zend_noarch]
name=Zend Server - noarch
baseurl=http://repos.zend.com/zend-server/rpm/noarch
enabled=1
gpgcheck=1
gpgkey=http://repos.zend.com/zend.key

Install Zend Server CE for PHP 5.2

yum install zend-server-ce-php-5.2

Install Zend Server CE for PHP 5.3

yum install zend-server-ce-php-5.3

if you need additional modules see the table under “Additional Packages” at http://files-source.zend.com/help/Zend-Server-Community-Edition/zend-server-community-edition.htm#rpm_installation.htm

To save yourself some trouble modify your path like stated under “Post Installation Configuration”. Do this for each user that will need it.

vi ~/.bashrc

Add the following lines to the end of the file.

PATH=$PATH:/usr/local/zend/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zend/lib

In order for this to take effect, close and reopen your shell or run the following command:

source ~/.bashrc

Command:

which php

Output:

/usr/local/zend/bin/php

Don’t forget to restart Apache for the changes to take effect.

/etc/init.d/httpd restart

Good luck and have fun. As always if you have any questions, ask.

Comments (1)

  1. 04:27, 2012/02/11Brooke Morrison Bosertinos  / Reply

    Take a look at the reference architecture just announced as part of a Rightscale Zend horizontal scalability solution.

Leave a Reply

Allowed Tags - You may use these HTML tags and attributes in your comment.

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

Pingbacks (0)

› No pingbacks yet.