twoshe wrote:my forum need the zend Optimizer.After I install the XAMPP,how can i enable the zend Optimizer in php.ini????
Is the php.ini in the directory xampp\xampp\apache\bin?
Yes
twoshe wrote:I modify the php.ini for example:
[Zend]
zend_extension_manager.optimizer_ts = "D:\Program Files\xampp\xampp\php\zendOptimizer\lib\Optimizer"
zend_extension_ts = "D:\Program Files\xampp\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
zend_optimizer.enable_loader = 1
zend_optimizer.optimization_level=15
zend_optimizer.license_path =
Local Variables:
tab-width: 4
End:
Is it all right?????????????
In my php.ini it looks like this:
- Code: Select all
zend_extension_ts = "C:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts = "C:\xampp\php\zendOptimizer\lib\Optimizer"
zend_optimizer.enable_loader = 0
zend_optimizer.optimization_level=15
;zend_optimizer.license_path =
; Local Variables:
; tab-width: 4
; End:
Your path is different because you installed to a different location than I. Zend is enabled correctly on my installation.
You can use:
zend_optimizer.enable_loader = 1
as and when required. It is usually required if you have encrypted scripts.
After making changes to the php.ini file you should always restart Apache to have those changes take effect.
Check it is enabled on your installation by going to
phpinfo() from the menu in the XAMPP Welcome Page using the localhost access.
You should see this among other zend things:
Zend Memory Manager enabled
Why are you asking, are you having problems with the Zend installation?