I am having problems getting the DBG to load on my Virtual Private Server from KnownHost.com. I have included ecerpt from php.ini and phpinfo() at the bottom of this post. Any assistance would be appreciated.
Thank you, John
I have uploaded the correct file and have put the extension load line in several places and in several formats:
1) zend_extension = "/usr/local/lib/php/extensions/debug-non-zts-20060613/dbg-php-5.2.so"
This line inserted at the very top of the extension area causes the Apache Server to not reboot correctly.
**** error message: *******************************
Waiting for httpd to restart..............finished.
httpd (/usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd) running as root with PID 22114
httpd has failed, please contact the sysadmin. |
*******************************
2) extension = "/usr/local/lib/php/extensions/debug-non-zts-20060613/dbg-php-5.2.so"
This line is inserted below in the sample. I had also tried to insert the line above the rest. This does NOT cause the Apache server to fail, but I do not get the extension to load.
I emailed support and they wrote back:
******************************************************
The PHP shows the message :
---------------------------
DBG requires Zend Engine API version 220040412.
The Zend Engine API version 220060519 which is installed, is newer.
Contact Dmitri Dmitrienko at
www.nusphere.com for a later version of DBG.
---------------------------
Please contact the vendor of the module to get the new version.
******************************************************
*** Except from my php.ini **************************
zend_extension = "/usr/local/IonCube/ioncube_loader_lin_5.2.so"
zend_extension = "/usr/local/Zend/lib/ZendExtensionManager.so"
zend_extension_ts = "/usr/local/IonCube/ioncube_loader_lin_5.2_ts.so"
zend_extension_ts = "/usr/local/Zend/lib/ZendExtensionManager_TS.so"
extension = "/usr/local/lib/php/extensions/debug-non-zts-20060613/dbg-php-5.2.so"
extension = "eaccelerator.so"
eaccelerator.shm_size="16"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
|
** phpinfo() output **********************
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.1.34, Copyright (c) 2002-2009, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
******************************************