zsd_print_extensions.php Error

General discussion on PHP

zsd_print_extensions.php Error

Postby prad935 on Fri Dec 15, 2017 4:32 pm

Log /usr/local/zend/var/log/gui_vhost_error.log getting huge every hour. I have emptied the file numerous times now. The log is being added multiple times a minute causing it to get bigger in size, seriously impacting the available space for the application; disk almost running out of space.

Error log extract:

[Fri Dec 15 15:26:24 2017] [error] [client 127.0.0.1] PHP Notice: Undefined variable: zem_extension_info in /usr/local/zend/share/UserServer/zsd_print_extensions.php on line 61
[Fri Dec 15 15:26:24 2017] [error] [client 127.0.0.1] PHP Notice: Undefined variable: zem_extension_info in /usr/local/zend/share/UserServer/zsd_print_extensions.php on line 63
[Fri Dec 15 15:26:24 2017] [error] [client 127.0.0.1] PHP Notice: Undefined variable: zem_extension_info in /usr/local/zend/share/UserServer/zsd_print_extensions.php on line 61
[Fri Dec 15 15:26:24 2017] [error] [client 127.0.0.1] PHP Notice: Undefined variable: zem_extension_info in /usr/local/zend/share/UserServer/zsd_print_extensions.php on line 63

The PHP v5.6 recently upgraded from PHP v5.4 is running on Centos 6.4 with Apache 2.2.15 server

$ php -v
PHP 5.6.32 (cli) (built: Oct 29 2017 19:00:01)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

Can anyone please suggest how I can fix this issue?
prad935
 
Posts: 2
Joined: Fri Dec 15, 2017 4:17 pm

Re: zsd_print_extensions.php Error

Postby zend_eyalt on Sun Dec 17, 2017 9:52 pm

It appears as if the extension whose role is to load all other Zend Server components, Zend Extension Manager (in short ZEM), is down, causing the issues you're reporting.

please check it's ini file at:
Code: Select all
/usr/local/zend/etc/conf.d/zend_extension_manager.ini


it should have the following entry:
Code: Select all
zend_extension=/usr/local/zend/lib/ZendExtensionManager.so


If it's missing for some reason then try to add it manually and restart zend server.
User avatar
zend_eyalt
 
Posts: 254
Joined: Thu Jan 22, 2009 3:16 pm

Re: zsd_print_extensions.php Error

Postby prad935 on Mon Dec 18, 2017 10:58 am

Thank you @zend_eyalt for your response. I checked zend config as you suggested and found ZendExtensionManager . so is referenced via zend_extension_manager . ini file.

-rwxr-xr-x 1 root root 2.1M Mar 17 2013 ZendExtensionManager . so

Not sure if I needed a newer version after upgrading PHP 5.4 to version 5.6 as the date on it is 2013.
prad935
 
Posts: 2
Joined: Fri Dec 15, 2017 4:17 pm


Return to PHP

Who is online

Users browsing this forum: No registered users and 3 guests

cron