Installing Zend Server Community Edition (CE) on Ubuntu With Phpmyadmin .
Start by adding the official Zend debs to your distribution.
-------------------------------------------------------------------------------------------------
sudo nano /etc/apt/sources.list
-------------------------------------------------------------------------------------------------
And the following snipplet in the bottom of the file
-------------------------------------------------------------------------------------------------
deb http://repos.zend.com/zend-server/deb server non-free
-------------------------------------------------------------------------------------------------
Add the Zend’s repository public key
-------------------------------------------------------------------------------------------------
wget http://repos.zend.com/zend.key -O- | sudo apt-key add -
-------------------------------------------------------------------------------------------------
Now synchronize the repositories
-------------------------------------------------------------------------------------------------
sudo apt-get update
-------------------------------------------------------------------------------------------------
Finally install Zend Server with PHP 5.3
-------------------------------------------------------------------------------------------------
sudo apt-get install zend-server-ce-php-5.3
-------------------------------------------------------------------------------------------------
All done, you now have Zend Server Community Edition installed!
Now we are Mysql
-------------------------------------------------------------------------------------------------
And then MySQL:
#apt-get install mysql-server
#service mysqld start
#mysql_install_db
#/usr/bin/mysql_secure_installation
#chkconfig --levels 235 mysqld on
Install phpmyadmin :
#apt-get install phpmyadmin-zend-server-php-5.3
-------------------------------------------------------------------------------------------------
#vi /usr/local/zend/gui/lighttpd/etc/lighttpd.conf
Search for 'phpmyadmin' and you should find the following code block:
$HTTP["remoteip"] !~ "127.0.0.1" {
$HTTP["url"] =~ "^/phpmyadmin/" {
url.access-deny = ( "" )
server.errorfile-prefix = "//usr/local/zend/gui/lighttpd/share/lighttpd-custom-errors/errorcode-"
}
}
To disable the security completely,
you can simply comment out this block. Alternatively, just replace the
IP Address with your own. Finally, we need to add Zend's bin and lib
directories to the system path and restart Zend.
-------------------------------------------------------------------------------------------------
#vi /etc/profile
Add the following lines to the very end of this file:
PATH=$PATH:/usr/local/zend/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/zend/lib
-------------------------------------------------------------------------------------------------