View Single Post
  #5 (permalink)  
Old 24-08-2008, 06:06
eUK-Martin's Avatar
eUK-Martin eUK-Martin is offline
Windows System Administrator
 
Join Date: Nov 2005
Location: Earth
Posts: 465
Default

11. Click Finish to finish the Zend Optimizer installation.

12. Check the Zend Optimizer library on the Plesk PHP path:




13. Now open php.ini for both PHP 4.x and PHP 5.x located at:
Code:
C:\WINDOWS\php.ini --- for 4.x
%plesk_dir%\Additional\PleskPHP5\php.ini -- for 5.x
14. Insert following lines at the end of the respective php.ini files:
For PHP 4.x
Code:
[ZEND]
zend_extension_ts = "%plesk_dir%\Additional\PleskPHP5\ext\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts="%plesk_dir%\Additional\PleskPHP5\ext\lib\Optimizer-3.3.0"
For PHP 5.x
Code:
[ZEND]
zend_extension_ts = "%plesk_dir%\Additional\PleskPHP5\extras\zend\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts="%plesk_dir%\Additional\PleskPHP5\extras\zend\lib\Optimizer-3.3.0"
Please make sure to change "%plesk_dir%\" with the actual path on the server

IMPORTANT:
Open regedit and deleted the key HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath



DO NOT delete the key at HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5\IniFilePath.

15.
Restarted IIS:


16. You can check Zend Optimizer library in the phpinfo page on your website:
Create a file info.php with the code below in the httpdocs folder:
Code:
<?php
phpinfo();
?>
17. browse the file with http://domain_name/info.php

18. You should see this entry below on the php info page:



And you are Done... !!!
__________________
Martin
Windows System Admin.


Windows VPS Hosting - Windows Dedicated Server - Web Hosting Tutorials

Email :: windows @ eUKhost.com AND support @ eUKhost.com
Reply With Quote