Help getting DBG installed on a Virtual Dedicated Server |
|
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: *******************************
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 **************************
** 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 ****************************************** |
||||||||||||||||
|
Site Admin
|
It means that what you're trying to load is dbg for php 5.0, not for 5.2 and it won't work under php 5.2 |
||||||||||||||
_________________ The PHP IDE team |
Is there a DBG for 5.2? |
Found the solution on my own |
|
For those of you having the same issue, here is a solution for you.
The placement of the debugger install line in the php.ini file..., 'zend_extension=dbg.php.5.x' cannot be the first extension installed IF you have ioncube. The ioncube needs to be installed first. Disregard the instructions from phpEd which says IT must be first in this situation. Load Ioncube Load DBG |
||||||||||||
|
Site Admin
|
yep, indeed, it's a known nasty thing in ioncube. But normally it only throws an error into the log and terminates the server. I didn't see any warnings like in your case:
|
||||||||||||||
_________________ The PHP IDE team |
|
re you saying that there is not a debugger that will work with this version of PHP?
Or are you saying I should be using dbg-php-5.0. |
||||||||||||
|
|
No. dbg-php.5.2.dll work just fine. What I am saying is that if you have inocube installed on your server, then you must load ionCube before dbg-php in the php.ini file
|
||||||||||||
|
Help getting DBG installed on a Virtual Dedicated Server |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by