DBG installation problem under DirectAdmin and CentOs4.4 |
Site Admin
|
check if dbg.so is taken from right archive and for the right php version, check if you copied it to right directory and assigned with right permissions, check if you edit right php.ini file and finally check if there are no problems in apache error_log.
|
||||||||||||
_________________ The PHP IDE team |
|
Hi Dmitry,
Ok. Things look weird. Here is what I've checked again: 1. I have php4.4.7 installed and I took dbg.so-4.4.x from dbg-3.1.11-Linux.tar.gz. Not the 64 bit version, I have 32 bit CentOs4.4 version. That's for sure. So I took it from dbg-3.1.11-Linux.tar.gz. Do I need to try ssl? I don't use it in my browser though. 2. Permissions. I copied dbg.so-4.4.x to /usr/local/lib where my php.ini is stored. I set chown root:root dbg.so-4.4.x chmod 777 dbg.so-4.4.x I now I'm absolutely sure that I have proper user and right assigned to it. I also double checked it using ls -l command and see it: -rwxrwxrwx 1 root root 91632 Oct 26 23:52 dbg.so-4.4.x 3. I copied it to /usr/local/lib but I could copy it to any other directory, right? The main thing is that I need to specify a correct path to it in my php.ini file. 4. php.ini. I opened my php.ini file which is stored in /usr/local/lib/php.ini (symlink to /usr/local/Zend/etc/php.ini). I opened php.ini and commented out Zends lines, saved the file, restarted apache and saw in phpinfo() that there was no zend encoder anymore. So I can be sure that I use right php.ini file. I removed those comments, restarted apache and saw zend encoder again. Ok. 5. I added... zend_extention=/usr/local/lib/dbg.so-4.4.x [debugger] debugger.enabled=on debugger.profiler_enabled=on debugger.hosts_allow= 87.103.173.232 localhost debugger.hosts_deny=ALL debugger.ports=7869, 10000/16 ...lines BEFORE zend encoder lines, saved php.ini, restarted apache, openede phpinfo() and there was Zend Encoder support but there was no debugger installed as I used to see it at my windows local machine. 6. Apache error log. There was no apparent errors in apache error log. Just a few notices: [Thu Nov 1 10:59:30 2007] [notice] SIGHUP received. Attempting to restart [Thu Nov 1 10:59:30 2007] [notice] Apache/1.3.39 (Unix) mod_ssl/2.8.30 OpenSSL/0.9.7a PHP/4.4.7 mod_perl/1.29 FrontPage/5.0.2.2510 configured -- resuming no [Thu Nov 1 10:59:30 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Nov 1 10:59:30 2007] [notice] Accept mutex: sysvsem (Default: sysvsem) What else can I check? Seems I understand everything ok now, but I don't have a clue why I don't see debugger in the first lines in phpinfo as I see it on my windows platform. Any ideas? May be the problem is that zend_extention= variable is used by both, Zend and dbg debugger? Can it be the problem? |
||||||||||||
|
Site Admin
|
I think it'd make much more sense if you contact NuSphere Support team directly using this page http://shop.nusphere.com/contact_us/ and provide more info about your system, including phpinfo() output.
|
||||||||||||
_________________ The PHP IDE team |
DBG installation problem under DirectAdmin and CentOs4.4 |
|
||
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