1. Install Zend Client.
2. Install Zend Server on Apache. Point to it's associated copy of php.ini (PHP 5 in my case).
For Apache to work with a particular php.ini, httpd.conf should contain a line
PHPIniDir _path_to_php.ini without file name and trailing slash; like"C:/phpini/php5".
For Apache to work simultaneously with IIS servers must listen to different ports.
3. Make a copy of Program Files\Apache Group\Apache2\htdocs\ZendStudioServer folder.
4. Run Zend Server installer again. It will uninstall itself. Choose to keep php.ini (and httpd.conf) files.
5. Run Zend Server installer and choose to install it on IIS.
For IIS to use a particular copy of php.ini file, PHPRC environmental variable should be added and pointing to php.ini file; like"C:/phpini/php4".
6. Take a copy of Apache Group\Apache2\htdocs\ZendStudioServer folder which you created on step 3 and replace actual folder (which was changed during uninstallation of Zend Server from Apache). Restart Apache.
7. Modify Start Menu links if necessary, to point to Zend Server on correct ports.
Note: if for some reason your php.ini file has a line describing ZendOptimizer and that version of Optimizer is not installed, Zend Server or Zend Optimizer installer will complain about it during installation. Just ignore it: a latest Optimizer will be installed and php.ini corrected.
Note:Installing Zend Server on IIS first and on Apache second will lead to inability to run it under IIS.
That's it.
Wednesday, April 05, 2006
How to install Zend Server on both IIS and Apache
Comments for this post
All comments