Learning PHP together: how to install Zend server Ce on Ubuntu (1)

Source: Internet
Author: User
Tags php development environment zend framework zend server

Build a php development environment. Some install Apache and PHP on your own, and some use integrated software, such as appserv.

Zend server (its free version is called Zend server CE ), integrated with Apache, PHP, Java Bridge, Zend optimizer, Zend guard loader (enabling PHP programs that use Zend guard encryption), Zend data cache, Zend debugger, Zend framework, etc, you can also choose to install phpMyAdmin and MySQL during installation. You can also use the management tool provided by phpMyAdmin (in the web form) to configure PHP, saving manual configuration.

During installation, you can choose to use the built-in Apache, or use the existing IIS to use PHP in FastCGI mode. Zend server has the same Linux version.

With Zend server (CE), it will be much easier to install and configure the PHP environment in the future. You do not have to install and configure Zend optimizer, Zend framework, and other things on your own, especially the built-in Java Bridge, this makes it easy to use Java classes in PHP.

The Zend server ce for linux version provides the Deb and RPM packages for quick installation without the need to compile the source code.

We all know that Deb packages are provided for Debian and Ubuntu, while RPM can be used on centos, FC, and RHAs.

I have always been a fan of ubuntu, and I use Deb package for installation.

Okay. The following is an introduction to Zend server ce for Deb installation.

Note:

This procedure requires root privileges.
To acquire root privileges in Ubuntu, run the following command and type your password:
$ Sudo-s.

Automatically installing Zend server community Edition
The following procedure describes how to run a script that will automatically create your Deb or RPM repositories and install Zend server.

 
Download the package called "Linux x86 Installer (RPM/Deb setup script)" from zend.com-http://www.zend.com/products/server-ce/downloads
Http://www.linuxidc.com/

Locate and extract the package:
ZendServer-X.X.X-RepositioryInstaller-linux.tar.gz

To change to the directory with the installer scripts run:
CD zendserver-repositoryinstaller-Linux/

Depending on the PHP version, you want to use, run one of the following commands:

For Zend server community edition with PHP 5.2 support run:
Install_zs.sh 5.2 CE

For Zend server community edition with PHP 5.3 support run:
Install_zs.sh 5.3 CE
 
After installing, a completion notification will appear, with a notice that the servers have started.

To access the administration interface (Web) Open your browser at: https: // localhost: 10082/zendserver (secure) or http: // localhost: 10081/zendserver.

Upon initial log in, you will be prompted to define your password.
 

Manually installing Zend server community Edition
To install Zend server community edition, the first thing you have to do is to setup the repository for downloading the Zend server community edition package.

 
To setup the environment:

1. Define a repository by opening the following file:/etc/APT/sources. List and adding the line:

Deb http://repos.zend.com/zend-server/deb server non-free

3. Add Zend's repository public key by running:

# Wget http://repos.zend.com/zend.key-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 http://repos.zend.com/zend.key-o-| sudo apt-key add-

4. To synchronize with Zend's repository run:

# Aptitude update
 
Now you can use "aptitude" to handle the installations, upgrades and additional packages.
 
 
To install:

1. Once the repository is set up, run the appropriate command according to the product version and PHP support you require:

To install Zend server community edition with PHP 5.2 run:

# Aptitude install zend-server-ce-php-5.2

To install Zend server community edition with PHP 5.3 run:

# Aptitude install zend-server-ce-php-5.3

2. Each package locates and downloads all relevant packages from the web.
The actual installation will require your conformation.
 
After installing, a completion notification will appear, with a notice that the servers have started.

To access the administration interface (Web) Open your browser at: https: // localhost: 10082/zendserver (secure) or http: // localhost: 10081/zendserver.

Upon initial log in, you will be prompted to define your password.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.