Вы находитесь на странице: 1из 5

Zend Server on Mac OS X

What is Zend Server?


Zend Server is a complete, enterprise-ready Web Application Server for running and managing PHP applications that require a high level of reliability, performance and security. Zend Server Community Edition (CE) is a simple, integrated Web Application Server for building and running non-critical PHP applications.

What is Installed?
Zend Server provides a complete PHP stack that can be controlled by the Administration Interface. In addition to PHP and Apache, the following components are installed: Zend components that are installed and enabled: - Zend Debugger - The Zend Debugger component enables remote debugging of PHP scripts using Zend Studio. - Zend Optimizer+ - The Zend Optimizer+ component speeds up PHP execution through opcode caching and optimization. - Zend Data Cache - The Zend Data Cache component provides a set of PHP functions for improving performance by storing data in the cache. - Zend Framework - An open source framework for developing Web applications and Web services with PHP. - PHPmyAdmin - A popular open-source management tool for handling MySql Database over a Web interface. Additional Zend Server features that are not included in the Community Edition: - Zend Monitor - The Zend Monitor component is integrated into the runtime environment and serves as an alerting and collection mechanism for early detection of PHP script problems. - Zend Download Server (ZDS) - The ZDS (Zend Download Server) component improves Apache's scalability by taking over static content downloads and passing them to a dedicated process optimized for parallel downloads (not supported in Microsoft Windows and IBMi).

- Zend Page Cache - The Zend Page Cache component is used for caching the entire output of PHP scripts without changing the PHP code. - Job Queue Component - The Jobs Component is used to streamline offline

processing of PHP scripts. - Zend Code Tracing - Code Tracing enables real-time execution flow recording in Production Environments. - Cluster Management - Scales environments to a cluster (not supported in IBMi). Zend components that are installed but not enabled by default in the Tarball installation and are additional in the DEB and RPM Installations: - Zend Java Bridge - The Java Bridge provides the ability to use Java classes and code from within PHP. - Zend Guard Loader - The Zend Guard Loader is used in order to run PHP scripts that were encoded with Zend Guard. Zend Server for IBMi also includes: - Zend 5250 Bridge - The Zend 5250 Bridge component is used to access 5250 Interactive programs screens. Note: One interactive session can be accessed without valid Zend Server license - Zend 5250 Emulator - The Zend 5250 Emulator provides browser access to i/OS resources and applications equivalent to an IBM 5250 terminal without having to deploy telnet or terminal client applications - Zend 5250 Bridge Demo Applications - demonstrate how the Zend 5250 Bridge API can be used to create interactive web-applications for 5250 programs. Clicking one of the demo application links open a new browser Window. - Zend Navigator Demo Applications - The Zend Navigator Demo Application demonstrates the usage of the PHP toolkit for IBM i functions. Note: Zend Server does not modify or replace any existing Apache or MySQL installations you might have.

Basic Usage
The Administration Interface provides the various controllers for configuring and managing your environment. The first thing you should do after completing the installation process is to open the Administration interface and set your password. You can access the Administration Interface by launching / Applications/ZendServer Alternatively, you can simply access https://localhost:10082/ or http:// localhost:10081/ with your browser. If you are trying to access a remote server, replace localhost with the address of the server you are accessing.

Starting and Stopping Zend Server


You can control the different Zend Server processes by opening a Terminal window and using the /usr/local/zend/bin/zendctl.sh script. Note: You must have administrator privileges to perform these actions. To start/stop all Zend Server processes run: sudo /usr/local/zend/bin/zendctl.sh <stop|start|restart> To start/stop Apache run: sudo /usr/local/zend/bin/zendctl.sh <start-apache | stop-apache | restartapache> To start/stop MySQL run: sudo /usr/local/zend/bin/zendctl.sh <start-mysql | stop-mysql | restart-mysql> To see all options available for zendctl.sh run: sudo /usr/local/zend/bin/zendctl.sh

Mac OS X System Paths


Zend Server is installed to the /usr/local/zend directory. Additionally, a launcher application is installed at /Applications/ZendServer. By default, the Apache web server bundled with Zend Server is listening to port 10088 in order to aviod collisions with any existing Apache, and is available at http://localhost:10088/. The default Apache document root is at /usr/local/zend/apache2/htdocs. By default, this directory is only writable by administrators. To change the default port or document root, edit the Apache configuration file and restart the Apache server. The main Apache configuration file is located at /usr/local/zend/apache2/conf/httpd.conf (Note: please make sure the port you are using is not occupied by other programs for example when using port 80 make sure no other Web server is occupying this port).

Zend Controller
Zend Controller is a utility that provides quick access to frequently performed tasks and useful information. Zend Controller includes a search function for locating information in online resources such as the PHP manual, the Zend Framework reference guide and the Zend website. In order to install Zend Controller, drag it from the downloaded disk image to / Applications. Please note that you should install Zend Controller only after you have installed Zend Server. Once installed it can be launched from /

Applications. Ctrl+click on the menu bar icon to open a setup menu and change the Zend Server IP address and password configurations. To launch Zend Controller at startup: 1. Go into the System Preferences, click on Accounts, select your account and click on the "Login Items" tab. 2. Click the "+" button under the applications list. 3. Locate Zend Controller in /Applications and click "Add". If Zend Controller is already running, you may skip this process and simply Ctrl+Click the Zend Controller icon in the dock, and select "Open at Login" from the pop-up menu.

System Requirements
1. Mac OS X 10.5 (Leopard) 10.6 (Snow Leopard) on Intel/x86 hardware 2. An account with administrator privileges 3. A minimum of 200 megabytes of available disk space is required to unpack and install Zend Server. 4. The Oracle extensions (oci8 and pdo_oci) require OS X 10.5 or above.

Further Information and Documentation


Product Information: The full Zend Server documentation is available through the Administration Interface or on-line at http://files.zend.com/help/Zend-Server/zend-server.htm You can send feedback on content and requests to documentation@zend.com Third Party License Information: All relevant 3rd party software licenses can be found at /usr/local/zend/doc/ licenses/

Thank you for using Zend Server!


Zend Technologies http://www.zend.com

Вам также может понравиться