BurakH

Member
Aug 21, 2012
5
0
1
cPanel Access Level
Root Administrator
Hi,

I update PHP 5.3.26 to PHP 5.4.17 but I have noticed the following errors in the apache error log:

[01-Aug-2013 14:31:28 Europe/Istanbul] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/+e.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/+e.so: cannot open shared object file: No such file or directory in Unknown on line 0
[01-Aug-2013 14:31:28 Europe/Istanbul] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[01-Aug-2013 14:31:28 Europe/Istanbul] PHP Fatal error: Failed creating file mapping in Unknown on line 0
[01-Aug-2013 14:31:28 Europe/Istanbul] PHP Fatal error: XCache: Cannot create shm in Unknown on line 0
[01-Aug-2013 14:31:28 Europe/Istanbul] PHP Fatal error: XCache: Cannot init in Unknown on line 0
[01-Aug-2013 14:31:30 Europe/Istanbul] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/+e.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/+e.so: cannot open shared object file: No such file or directory in Unknown on line 0
[01-Aug-2013 14:31:30 Europe/Istanbul] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0
[01-Aug-2013 14:31:30 Europe/Istanbul] PHP Fatal error: Failed creating file mapping in Unknown on line 0
[01-Aug-2013 14:31:30 Europe/Istanbul] PHP Fatal error: XCache: Cannot create shm in Unknown on line 0
[01-Aug-2013 14:31:30 Europe/Istanbul] PHP Fatal error: XCache: Cannot init in Unknown on line 0
[email protected] [~]# php -v
PHP 5.4.17 (cli) (built: Aug 1 2013 15:01:16)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
with XCache v3.0.3, Copyright (c) 2005-2013, by mOo
with the ionCube PHP Loader v4.2.2, Copyright (c) 2002-2012, by ionCube Ltd.
with XCache Cacher v3.0.3, Copyright (c) 2005-2013, by mOo


How can I fix it ?
 

cgimickalo

Well-Known Member
Apr 19, 2013
78
0
6
N.W. Iowa
cPanel Access Level
Root Administrator
I had a similar issue about a week ago and found if you edit your php.ini file and comment out that extension and restart apache that should remove the warnings. Find the following line and comment out with the ; semicolon like so.

Code:
;extension="suhosin.so"
 

BurakH

Member
Aug 21, 2012
5
0
1
cPanel Access Level
Root Administrator
Thanks for your answer, i removed suhosin line in php.ini file.



Hello :)

There is a known issue with Suhosin and PHP 5.4. A thread on this can be found at:

[Case 62804] PHP Suhosin Warning After Run Easyapache

The "Xcache" error messages can indicate a lack of system resources. Could you let us know what method you used to install the "+e.so'" module?
Thank you.
I don't know +e.so module. Two days ago I installed litespeed, cloudlinux and cagefs than xcache began to error messages in the apache error logs.
[01-Aug-2013 20:00:18 Europe/Istanbul] PHP Fatal error: Failed creating file mapping in Unknown on line 0
[01-Aug-2013 20:00:18 Europe/Istanbul] PHP Fatal error: XCache: Cannot create shm in Unknown on line 0
[01-Aug-2013 20:00:18 Europe/Istanbul] PHP Fatal error: XCache: Cannot init in Unknown on line 0
Xcache configuration in php.ini :
extension="xcache.so"
xcache.admin.enable_auth="on"
xcache.admin.pass="md5pswd..."
xcache.admin.user="adminusurname"
xcache.cacher="On"
xcache.coredump_directory=""
xcache.count="8"
xcache.coveragedump_directory="/tmp/pcov/"
xcache.coverager="Off"
xcache.gc_interval="0"
xcache.mmap_path="/dev/zero"
xcache.optimizer="Off"
xcache.readonly_protection="Off"
xcache.size="1024M"
xcache.slots="8K"
xcache.test="Off"
xcache.ttl="0"
xcache.var_count="1"
xcache.var_gc_interval="300"
xcache.var_maxttl="0"
xcache.var_size="250M"
xcache.var_slots="8K"
xcache.var_ttl="0"