UniServer Zend Optimizer: Difference between revisions
m
Reverted edits by Upazixorys (Talk); changed back to last version by Ric
Upazixorys (talk | contribs) No edit summary |
m (Reverted edits by Upazixorys (Talk); changed back to last version by Ric) |
||
Line 1: | Line 1: | ||
<span id="top"></span> | |||
{| cellpadding="2" | |||
{| cellpadding= | |||
| | | | ||
__TOC__ | __TOC__ | ||
Line 17: | Line 16: | ||
== Download and Install == | == Download and Install == | ||
=== Options 1 === | === Options 1 === | ||
# Download file '''UniServer_Zend_Optimizer_1.0.exe''' from [http://sourceforge.net/project/showfiles.php?group_id=53691& | # Download file '''UniServer_Zend_Optimizer_1.0.exe''' from [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=49448 Sourceforge] | ||
# Save it to folder '''UniServer'''. | # Save it to folder '''UniServer'''. | ||
# To extract files, double click on file UniServer_Zend_Optimizer_1.0.exe, no need to change the path. | # To extract files, double click on file UniServer_Zend_Optimizer_1.0.exe, no need to change the path. | ||
# If you wish to save space delete UniServer_Zend_Optimizer_1.0.exe | # If you wish to save space delete UniServer_Zend_Optimizer_1.0.exe | ||
=== Options 2 === | === Options 2 === | ||
# Download file '''UniServer_Zend_Optimizer_1.0.exe''' from [http://sourceforge.net/project/showfiles.php?group_id=53691& | # Download file '''UniServer_Zend_Optimizer_1.0.exe''' from [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=49448 Sourceforge] | ||
# Save to any folder (e.g. '''''temp1''''') | # Save to any folder (e.g. '''''temp1''''') | ||
# Extract files, navigate to zendOptimizer | # Extract files, navigate to zendOptimizer | ||
Line 51: | Line 50: | ||
* Edit file UniServer\udrive\usr\local\php\'''php.ini''' | * Edit file UniServer\udrive\usr\local\php\'''php.ini''' | ||
* Navigate to bottom of page and add this block: | * Navigate to bottom of page and add this block: | ||
<pre> | |||
[Zend] | [Zend] | ||
zend_extension_ts = /usr/local/php/zendOptimizer/lib/ZendExtensionManager.dll | zend_extension_ts = /usr/local/php/zendOptimizer/lib/ZendExtensionManager.dll | ||
Line 57: | Line 56: | ||
zend_optimizer.enable_loader = 1 | zend_optimizer.enable_loader = 1 | ||
zend_optimizer.optimization_level=15 | zend_optimizer.optimization_level=15 | ||
</pre> | |||
'''''[[#top | Top]]''''' | '''''[[#top | Top]]''''' | ||
Line 66: | Line 65: | ||
* From Apanel, run phpinfo() | * From Apanel, run phpinfo() | ||
* Scroll down page and look for this section: | * Scroll down page and look for this section: | ||
<pre> | |||
This program makes use of the Zend Scripting Language Engine: | This program makes use of the Zend Scripting Language Engine: | ||
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies | Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies | ||
Line 72: | Line 71: | ||
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies | with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies | ||
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies | with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies | ||
</pre> | |||
Zend Optimizer v3.3.3 confirms correct installation. | Zend Optimizer v3.3.3 confirms correct installation. | ||
Line 90: | Line 89: | ||
However you must edit php.ini manually and set the paths in the [Zend] block as shown below: | However you must edit php.ini manually and set the paths in the [Zend] block as shown below: | ||
<pre> | |||
[Zend] | [Zend] | ||
zend_extension_ts = c:/UniServer/usr/local/php/zendOptimizer/lib/ZendExtensionManager.dll | zend_extension_ts = c:/UniServer/usr/local/php/zendOptimizer/lib/ZendExtensionManager.dll | ||
Line 96: | Line 95: | ||
zend_optimizer.enable_loader = 1 | zend_optimizer.enable_loader = 1 | ||
zend_optimizer.optimization_level=15 | zend_optimizer.optimization_level=15 | ||
</pre> | |||
If you have [[4.0-Mona: Install#Change drive and or folder |'''moved''']] the servers to a different location replace '''c:/UniServer''' with the new '''drive letter''' and '''folder name'''. | If you have [[4.0-Mona: Install#Change drive and or folder |'''moved''']] the servers to a different location replace '''c:/UniServer''' with the new '''drive letter''' and '''folder name'''. | ||