|
PHP debugging with NuSphere Debugger (DBG) is available for 18 different platforms. Remote debugging of PHP scripts is one of the most powerful PHP tools provided by NuSphere. It can be easily set up with the help of dbg-wizard - NuSphere PHP debugger helper script.
How to install PHP Debugger
NuSphere PHP IDE comes with its own pre-configured embedded web server. If you want to debug PHP scripts with Apache or IIS you need to install PHP Debugger module manually.
All PHP Debugger modules are located under your PhpED install directory, in the debugger\server folder.
Our "HOWTO: Install debugger module" page provides the details on how to install and configure PHP Debugger module on a remote or local server. You can also find this information in PhpED manual Configuring->Configuring server part of PHP Debugger.
How to find the right module for php debugging
When you run dbg-wizard on one of the supported platforms it will likely suggest PHP Debugger module for Debugging of PHP with Apache or IIS. However, you need to consult the table below to select the module corresponding to your particular version of glibc.
The following table describes the supported server configurations and locations of corresponding dbg modules. Please select the dbg module applicable to your platform.
| Operating System | Bitness and CPU | Requirements | Archive or Location | Directory inside | Comments |
| Linux | x86, 32 | glibc >= 2.3 | dbg-3.2.14-Linux-glibc-2.3.tar.gz | x86 | |
| Linux | x86, 64 | glibc >= 2.3 | dbg-3.2.14-Linux-glibc-2.3.tar.gz | x86_64 | 5 |
| Linux | x86, 32 | glibc >= 2.7 | dbg-3.2.14-Linux-glibc-2.7.tar.gz | x86 | 6 |
| Linux | x86, 64 | glibc >= 2.7 | dbg-3.2.14-Linux-glibc-2.7.tar.gz | x86_64 | 5, 6 |
| |
| Windows | x86, 32 | TS PHP crt6 | Windows\x86 | | 1 3 |
| Windows | x86, 32 | NTS PHP crt6 | Windows\x86_NTS | | 2 3 |
| Windows | x86, 32 | NTS PHP crt8 | Windows\x86_NTS_VC8 | | 2 4 |
| Windows | x86, 64 | TS PHP crt8 | Windows\x86_64 | | 1 4 |
| Windows | x86, 64 | NTS PHP crt8 | Windows\x86_64_NTS | | 2 4 |
| |
| FreeBSD | x86, 32 | v.4 or higher | dbg-3.2.14-FreeBSD-4.tar.gz | x86 | |
| FreeBSD | x86, 32 | v.6 or higher | dbg-3.2.14-FreeBSD-6.tar.gz | x86 | |
| FreeBSD | x86, 64 | v.6 or higher | dbg-3.2.14-FreeBSD-6.tar.gz | x86_64 | 5 |
| |
| Sun (solaris) | sparc, 32 | v.8 or higher | dbg-3.2.14-SunOS-5.8.tar.gz | sparc | |
| Sun (solaris) | sparc, 64 | v.8 or higher | dbg-3.2.14-SunOS-5.8.tar.gz | sparc_64 | 5 |
| Sun (solaris) | x86, 32 | v.10 or higher | dbg-3.2.14-SunOS-5.10.tar.gz | x86 | |
| Sun (solaris) | x86, 64 | v.10 or higher | dbg-3.2.14-SunOS-5.10.tar.gz | x86_64 | 5 |
| |
| NetBSD | x86, 32 | v.3 or higher | dbg-3.2.14-NetBSD-3.tar.gz | x86 | |
| NetBSD | x86, 64 | v.3 or higher | dbg-3.2.14-NetBSD-3.tar.gz | x86_64 | 5 |
| |
| OpenBSD | x86, 32 | v.4 or higher | dbg-3.2.14-OpenBSD-4.tar.gz | x86 | |
| OpenBSD | x86, 64 | v.4 or higher | dbg-3.2.14-OpenBSD-4.tar.gz | x86_64 | 5 |
| |
| Mac OSX | x86, 32 | v.10.4 or higher | dbg-3.2.7-MacOSX-10.4.tar.gz | x86 | |
| Mac OSX | ppc, 32 | v.10.4 or higher | dbg-3.2.7-MacOSX-10.4.tar.gz | powerpc | |
COMMENTS:
- TS PHP stands for php compiled with thread-safety turned on (see phpinfo output to make sure if you run php with this opetion)
- NTS PHP stands for php compiled without thread-safety option (see phpinfo output to make sure if you run php with this opetion)
- crt6 means that php is compiled with MS VC6 runtime library (msvcrt.dll)
- crt8 means that php is compiled with MS VC 2005 runtime library (msvcr8.dll)
- In case of 64bit hardware, please make sure that installed php is also 64bit, otherwise you need 32bit debugger modules.
- Modules for Linux-glibc-2.7 will work only on the systems shipped with glibc 2.7 or HIGHER, in the other cases you will need Linux-glibc-2.3 modules. In order to determine glibc version, run ldd --version and check its output or if linux is rpm-based, run rpm -qa|grep 'glibc' and look for glibc-x.y.z-n module, where x.y is actual version of glibc.
|