Need help getting started with DBG
Posted: Sun Feb 23, 2003 2:24 pm
I'm a Linux and PHP newbie (but experienced developer) looking for a kick in the right direction. I am uncertain about the directions, because they seem to indicate a (re)compile of some sort, and the use of the PHPIZE script (can't find on my server). However, since I downloaded the precompiled modules, I'm not sure if this is required.
My two basic questions are:
1 - Is there anything else I need to do to install DBG?
2 - Assuming the installation is OK as I've done it, how do I go about debugging functions in a php file that is included through a
require_once(mylib.php)
Since I really don't know how to get started, I'll describe my situation:
** Environment:
Coding on Win2k against Linux server (Red Hat 7.3 based, Mitel SME 5.1.2 distribution) with PHP 4.0.6 (will upgrade later).
** Done so far:
1: Downloaded and Installed PHPEdit v.0.7.1.107 on my Win2k PC.
2: Downloaded DBG (precompiled), extracted and copied dbg.so-4.0.6 to the same directory on the Linux server as mysql.so, ldap.so, etc.
3: Edited php.ini to add the extension=dbg.so and the [debug] section according to the INSTALL file.
4: Modified owner, group and permission on the dbg.so to math the other *.so in the same directory.
TIA,
Tore
My two basic questions are:
1 - Is there anything else I need to do to install DBG?
2 - Assuming the installation is OK as I've done it, how do I go about debugging functions in a php file that is included through a
require_once(mylib.php)
Since I really don't know how to get started, I'll describe my situation:
** Environment:
Coding on Win2k against Linux server (Red Hat 7.3 based, Mitel SME 5.1.2 distribution) with PHP 4.0.6 (will upgrade later).
** Done so far:
1: Downloaded and Installed PHPEdit v.0.7.1.107 on my Win2k PC.
2: Downloaded DBG (precompiled), extracted and copied dbg.so-4.0.6 to the same directory on the Linux server as mysql.so, ldap.so, etc.
3: Edited php.ini to add the extension=dbg.so and the [debug] section according to the INSTALL file.
4: Modified owner, group and permission on the dbg.so to math the other *.so in the same directory.
TIA,
Tore