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
Requirements:
The following procedure describes how to install Zend Server on Mac OS X.
|
|
|
To install Zend Server:
|
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/).
|
The following procedure describes how to install Zend Controller.
|
|
|
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. |
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.
|
|
|
To add the <install_path>/bin directory to your $PATH environment variable per user profile:
PATH=$PATH:<install_path>/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<install_path>/lib Replace <install_path> with your Zend Server installation path.
source ~/.bashrc |
You can now run the PHP binary provided by Zend Server without typing its full path. |
|
|
|
To add the <install_path>/bin directory to your $PATH environment variable for all users:
PATH=$PATH:<install_path>/bin LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<install_path>/lib Replace <install_path> with your Zend Server installation path.
source /etc/profile |
You can now run the PHP binary provided by Zend Server without typing its full path. |
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.
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: |
|
|
© 1999-2013 Zend Technologies, Ltd. All rights reserved.