Need zend on my domain but it seems not to load the module

3 posts / 0 new
Last post
#1 Mon, 07/25/2016 - 05:18
cinterpro
cinterpro's picture

Need zend on my domain but it seems not to load the module

Dear all.

For a aplication i need the Zend loader to work. My current OS is: lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty

Current php version: php -v PHP 5.5.9-1ubuntu4.17 (cli) (built: May 19 2016 19:05:57) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

For this I used the following guide: Please see this small guide I placed the 2 ".so" files in this locatation: /usr/local/zendoptimizer which are: -rw-rw-r-- 1 root root 163069 jul 25 10:31 opcache.so (Permission 664) -rwxr-xr-x 1 root root 1471541 jul 25 10:31 ZendGuardLoader.so (Permission 755)

Than I have added to this file : /home/mydomain/etc/php5/php.ini the following lines at the bottom of the file: [Zend] zend_extension=/usr/local/zendoptimizer/ZendGuardLoader.so zend_loader.enable=1

than I restart the apache using this command: /etc/init.d/apache2 restart once restarted i do php-m and see that the module is NOT loaded.

Zend OPcache zip zlib

[Zend Modules] Zend OPcache

I donĀ“t see the module loaded. even when restarten apache 1000 times I propbalbly am missing something. Can aynone help me out with this please?

Hoping to hear from you. Regards, Paco

Ps. currently running FCGId (run as virtual server owner)

Mon, 07/25/2016 - 06:32
Diabolico
Diabolico's picture

For this I used the following guide: Please see this small guide I placed the 2 ".so" files in this locatation: /usr/local/zendoptimizer which are: -rw-rw-r-- 1 root root 163069 jul 25 10:31 opcache.so (Permission 664) -rwxr-xr-x 1 root root 1471541 jul 25 10:31 ZendGuardLoader.so (Permission 755)

In that guide it say you should copy only one file ZendGuardLoader.so in /usr/lib/php5/:

cp ZendGuardLoader.so /usr/lib/php5/

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Mon, 07/25/2016 - 08:55
cinterpro
cinterpro's picture

Dear Diabolico. Many thanks for your suggestion, tried it already but again, no luck The reason for placing it some where else is due what I read here: https://www.virtualmin.com/node/19355 , Suggested by Eric So, if you put files in there, a normal user wouldn't be able to see it. My recommendation would be to put your Zend Optimizer files somewhere globally accessible... perhaps in /usr/local/ZendOptimizer. Also, you can look in the Apache errors logs, $HOME/logs/error_log, for clues as to why things aren't working. -Eric So it seems I am still missing some things... Any other sugestion, please?

Hoping to hear from you.. Regards, Paco

Topic locked