Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Zend Server Community Edition on Ubuntu Server

The best way to install Zend Server is to follow the instructions on

Here the short version:

1. Installation:

1.1 Define a repository by opening the following file: “/etc/apt/sources.list” and adding the line:

deb server non-free

1.2 Add Zend’s repository public key by running:

wget -O- |apt-key add -

If you are using sudo to run each command the next command requires using sudo following the ‘|’ (pipe) symbol as follows:

wget -O- | sudo apt-key add -

1.3 To synchronize with Zend’s repository run:

aptitude update

1.4 Install Zend Server Community Edition with PHP 5.3:

aptitude install zend-server-ce-php-5.3

2. Use it:


First choose a password and continue.

Now you can upload your php files to your document root “/var/www” and access them via “http://SERVER” like an normal Apache2 + PHP setup.

3. Misc:

3.1 Editions
If you want to know something about the differences of the “Community Edition”, take a look at this page:

3.2 Adding phpmyadmin to the Zend Server environment

aptitude install phpmyadmin-zend-server

If you get the following message:
“For security reasons, the link to the phpMyAdmin interface from Zend Server is locked for remote access and is only accessible from localhost.”

Do this modification:

sudo vim /usr/local/zend/gui/lighttpd/etc/lighttpd.conf
$HTTP["remoteip"] !~ "" {
$HTTP["url"] =~ "^/phpmyadmin/" {
url.access-deny = ( "*" )
server.errorfile-prefix = "//usr/local/zend/gui/lighttpd/share/lighttpd-custom-errors/errorcode-"
sudo /usr/local/zend/bin/ restart

3.3 Other Tutorials

3.4 Additional PHP extensions

sudo aptitude install php-5.3-extra-extensions-zend-server

This is Meta-Paket installs:

freetds-common{a} libltdl7{a} libsybdb5{a} odbcinst1debian1{a} php-5.3-extra-extensions-zend-server php-5.3-gmp-zend-server{a} php-5.3-imagick-zend-server{a} php-5.3-memcache-zend-server{a}
php-5.3-mssql-zend-server{a} php-5.3-odbc-zend-server{a} php-5.3-pcntl-zend-server{a} php-5.3-pdo-dblib-zend-server{a} php-5.3-pdo-odbc-zend-server{a} php-5.3-shmop-zend-server{a}
php-5.3-sysvmsg-zend-server{a} php-5.3-sysvsem-zend-server{a} php-5.3-sysvshm-zend-server{a} php-5.3-unix-extensions-zend-server{a} php-5.3-wddx-zend-server{a} php-5.3-xmlrpc-zend-server{a}

3.5 Install Java-Bridge

sudo aptitude install java-bridge-zend-server

More informations:

3.6 Online Documentation

, ,

4 thoughts on “Zend Server Community Edition on Ubuntu Server

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.