You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.
You are here: Zend Server Installation Guide > Mac OS X Installation

Mac OS X Installation

This section describes the process for installing Zend Server on Mac OS X from a .dmg disk image. The disk image contains a .pkg installer for Zend Server (including MySQL and phpMyAdmin) and the Zend Controller App. which you may optionally install after installing Zend Server.

Note

If you are upgrading Zend Server from an existing installation you must first perform the procedure described in ”Upgrading”.

Requirements:

Installing Zend Server

The following procedure describes how to install Zend Server on Mac OS X.

 

 

Instructions on how to complete a procedure

To install Zend Server:

  1. After downloading the package, locate the downloaded file and double-click it to reveal the package file ZendServer.pkg. Double-click the package file to start the installation process.

  2. Follow the instructions presented by the Installer. Pay attention to the Important Information presented during installation process.

  3. If necessary, click ”Change Install Location” to define a different location for installing Zend Server .

  4. Zend Server is installed to /usr/local/zend. Additionally, ZendServer.app will be placed under /Applications through which you can access the Administration interface.

When you open the Administration Interface for the first time, you will be prompted to set your Zend Server password.

This password is required for logging in to the Administration Interface every time you use Zend Server . You should set the same password in the Zend Controller configuration when you launch it for the first time.

 

You can access your Apache's document root at /usr/local/zend/apache2/htdocs. Apache is configured to run on port 10088 by default (accessible at http://localhost:10088/).

 

Installing Zend Controller

The following procedure describes how to install Zend Controller.

 

 

Instructions on how to complete a procedure

To install Zend Controller:

To install Zend Controller, drag it from the disk image to /Applications.

After the installation, Zend Controller should be configured to access your Zend Server installation by setting your Zend Server password. You can access the Zend Controller configuration window by selecting Preferences from the Zend Controller menu.

Post Installation Configuration

If you intend to use PHP and other tools provided by Zend Server (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 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 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 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 without typing its full path.

Upgrading Zend Server

Upgrading a Windows installation of  Zend Server is accomplished by going to Zend's download page and selecting the relevant installation. When upgrading Zend Server Cluster Manager, upgrade the cluster manager, and then the nodes. For more information see Upgrading a Zend Server Cluster.

Uninstalling Zend Server

You can uninstall Zend Server, by running sudo /usr/local/zend/bin/uninstall.sh from a terminal window. The uninstall script will perform the following:

You must have administrator privileges to run the uninstall procedure.

 

 

Related Links

Related Links:

Ports and Services

Upgrading

Installed Components

Using PECL 

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.