php - Zend Guard Loader not getting enabled -


i trying optimize zend application using zend guard loader in xampp contol panel. install , configure this, have done following configuration settings.

i have downloaded zend guard loader zend guard loader php 5.6 , extract in d:/xampp/php/ext/zend-loader.

it contains zendloader.dll , php_opcache.dll.

and in php.ini file, have updated as:-

zend_extension_nts=d:/xampp/php/ext/zend-loader/zendloader.dll 

[as php thread safe enabled, , used zend_extension_nts].

also have uncommented , modified:-

  • opcache.enable=1
  • zend_loader.enable=1

and when check using php -v or using phpinfo(),its not showing zend guard loader enabled. appreciated.it taking hell lot of time configure it.also if knows effective ways how optimize zend apllication,please help.

you need load php_opcache.dll after zendloader.dll.

also directive zend_extension_nts should zend_extension. there no zend_extension_nts , zend_extension_ts has been removed since php 5.3.0.

so php.ini should have these lines:

zend_extension=d:/xampp/php/ext/zend-loader/zendloader.dll zend_extension=d:/xampp/php/ext/zend-loader/php_opcache.dll  zend_loader.enable=1 

Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -