简体   繁体   中英

Apache doesn't restart after configuring Zend Guard - CentOS 7

i downloaded and installed the Zend Guard library on my Centos7 server and after put the config lines into the php.ini file and restart apache... apache doesn't want to restart..

Here is my php version :

[root@XXXXXXXXXX home]# php -v
PHP 5.5.29 (cli) (built: Sep  3 2015 10:49:44) 
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies
with the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured) v5.0.18, Copyright (c) 2002-2015, by ionCube Ltd.

I installed Zend Guard Loader for PHP 5.5 - 64 bit like that :

  • i put the 2 files ( ZendGuardLoader.so and opcache.so ) into /usr/lib64/php/modules/
  • i added these lines at the bottom of my php.ini file :

    zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so zend_extension=/usr/lib64/php/modules/opcache.so zend_loader.enable=1

and i restarted apache and nothing, must hit ctrl-c , comment the lines and restart.

I tried just with ZendGuardLoader.so and it was the same result.

Do you have any idea ?

please execute the command

httpd -t

to see the error

It will show you the row number where the wrong confguration exist

regards

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM