How install dbg |
|
1. Sorry for my english
2. I have read http://forum.nusphere.com/howto-install-debugger-module-t576.html ( its like to "Configuring 3rd party WEB server" from PhpED manual ) 3. I have FreeBSD 4.10 apache 1.3.33 PHP 4.3.10 Apache works in chroot : /var/chroot/apache_1.3.33 I get phpEd 3.3.3evl and install it on my win computer. I take dbg.so-4.3.10 from debugger\server\FreeBSD\dbg-2.16.16-FreeBSD-4.10.tar.gz ( from dir i386 ) and put it to /var/chroot/apache_1.3.33/var/php/extension Edit php.ini ( in my chroot ) : extension_dir = "/var/php/extension" extension=dbg.so-4.3.10 [debugger] debugger.enabled=on debugger.profiler_enabled=on debugger.hosts_allow=192.168.4.5 debugger.hosts_deny=ALL debugger.ports=7869, 10000/16 192.168.4.5 - my comp with phpEd Reload Apache and see phpifo() : don't see string like "DBG v2.16, (C) 2000,2004, by Dmitri Dmitrienko" I insert next strings to my php script: if( dl('dbg.so-4.3.10') ) echo "load dbg.so-4.3.10 <br>\n"; else echo "not load dbg.so-4.3.10 <br>\n"; and try again and have seen message about bad "libwrap.so.3" and "not load dbg.so-4.3.10" I copy libwrap.so.3 to my chroot and try again and see message "load dbg.so-4.3.10" But I could not see string about "DBG v2.16, (C) 2000,2004, by Dmitri Dmitrienko" In apache error_log: [Thu Mar 3 15:39:11 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 mod_ssl/2.8.22 OpenSSL/0.9.7e configured -- resuming normal operations [Thu Mar 3 15:39:11 2005] [notice] Accept mutex: flock (Default: flock) I have no any string like "zend_extension" in php.ini. What i have to do to install DBG ? |
||||||||||||
|
Thanks |
|
I have made:
cat /etc/hosts.allow and have seen : ....... NOTE: The hosts.deny file is deprecated ....... There for i have copied only /etc/hosts.allow to my chroot and restarted apache. After that i have seen string : "with DBG v2.16.16, (C) 2000,2004, by Dmitri Dmitrienko" on page with phpinfo(). Thank you. Now i shall try to use remote gebugging. |
||||||||||||
|
How install dbg |
|
||
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