Tarball Installation

In this Topic Hide

Installing Zend Server Community Edition

Uninstalling Zend Server Community Edition

The Tarball installation is a generic Linux Tarball installation that includes Zend Server Community Edition, Apache 2.2, and The latest available version of PHP - PHP 5.2 or PHP 5.3. This method is suitable for all machines, specifically older versions and homegrown Linux-based operating systems that are not specified in the list of supported operating systems.

Requirement: GLIBC >= 2.3.

Note:

This package includes the Java Bridge component. This component requires Sun Microsystems JRE 1.4 (or later) installed on your computer. Therefore, if you do not already have JRE installed, install it before using the Java Bridge. More information about JREs and the latest updates can be found on the Sun Microsystem website: http://java.sun.com or http://java.com/en/download/linux_manual.jsp).

Installing Zend Server Community Edition

This procedure describes how to install Zend Server Community Edition using the general Tarball installation.

Before beginning the installation, download the package from zend.com: You will have to log in with your zend.com account to begin the download process.

 

 

Instructions on how to complete a procedure

To install Zend Server Community Edition :

  1. Extract by running the command:

 tar -xzvf <package name>

  1. CD (change the directory) to the extracted directory and run the installer with the command

./<Package_Name>/install.sh

  1. Specify the prefix (/usr/local/by default): A new directory called zend is created under it (making the path using the default location: <install_path>).

After installing, a completion notification appears, informing you about the installation and what to do next. You can access the (Web) Administration Interface from: https://localhost:10082/ZendServer. Upon initial login, you are prompted to define your password.

Note:

To access the Administration Interface from a remote browser, make sure the IP is configured as an allowed IP in the Debugger tab. In the address, replace <LocalHost> with the IP of the machine on which Zend Server Community Edition is installed.

If you intend to use PHP and other tools provided by Zend Server Community Edition (pear and pecl) from the command line (PHP CLI), it is recommended that you add the <install_path>/bin directory to your $PATH environment variable.

This can be done in two ways:

The following procedure is intended for use with bash. If you are using a different shell, adjust the procedure accordingly.

 

 

Instructions on how to complete a procedure

To add the <install_path>/bin directory to your $PATH environment variable per user profile:

  1. Using a text editor, open .bashrc (located in your home directory).

  2. Add the following lines to the end of the file:

PATH=$PATH:<install_path>/bin

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<install_path>/lib

Replace <install_path> with your Zend Server Community Edition installation path.

  1. Save the file.

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

source ~/.bashrc

You can now run the PHP binary provided by Zend Server Community Edition without typing its full path.

 

 

Instructions on how to complete a procedure

To add the <install_path>/bin directory to your $PATH environment variable for all users:

  1. Log in as root or use sudo to execute the following commands.

  2. Using a text editor, open /etc/profile.

  3. Add the following lines to the end of the file:

PATH=$PATH:<install_path>/bin

LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<install_path>/lib

Replace <install_path> with your Zend Server Community Edition installation path.

  1. Save the file.

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

source /etc/profile

You can now run the PHP binary provided by Zend Server Community Edition without typing its full path.

Uninstalling Zend Server Community Edition

The following instructions describe how to uninstall the Tarball package:

 

 

Instructions on how to complete a procedure

To completely uninstall:

# <install_path>/bin/zendctl.sh stop

Ensure all daemons are stopped by running:

#  <install_path>/bin/zendctl.sh status

# rm -rf  <install_path>

 

 

 

Related Links

Related Links:

Using PECL 

Ports and Services

Upgrading

Installed Components

Parallel Installations