Hi,
I am trying to install the debuger on my QNap TS-109II (http://www.qnap.com/pro_detail_feature.asp?p_id=92) without success:-
$uname -a
Linux NAS 2.6.12.6-arm1 #10 Fri Nov 14 19:39:38 CST 2008 armv5tejl unknown |
I looked at the table in
http://www.nusphere.com/products/debugging_php.htm
$ldd --version
ldd (GNU libc) [b]2.2.4[/b]
Copyright (C) 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
|
I got dbg-3.6.6-Linux-glibc-2.3 archive
In my php.ini file:-
extension_dir = /usr/local/apache/libexec
|
[...]
extension=dbg-php-4.3.so
[debugger]
debugger.enabled=on.
debugger.profiler_enabled=on.
debugger.hosts_allow=ALL.
;debugger.hosts_deny=ALL.
debugger.ports=7869, 10000/16
|
Also:-
$ls -la /usr/local/apache/libexec
drwxr-xr-x 2 502 502 4096 Jan 19 23:21 ./
drwxr-xr-x 10 502 502 4096 Jan 15 2007 ../
-rwxrwxrwx 1 502 502 97728 Jan 15 04:34 dbg-php-4.3.so*
-rwxr--r-- 1 502 502 230708 Jan 2 2008 eaccelerator.so*
-rw-r--r-- 1 502 502 7587 Jan 15 2007 httpd.exp
-rwxr--r-- 1 502 502 183532 Jan 2 2008 libmcrypt.so.4.4.7*
-rwxr--r-- 1 502 502 1413740 Oct 26 2007 libmysqlclient.so.15.0.0*
-rwxr--r-- 1 502 502 5932508 Jan 2 2008 libphp5.so*
-rwxrw-rw- 1 admin administ 78405 Feb 26 2008 mod_rewrite.so*
|
Now when I stop and start apache I keep getting the following message when restarting apache:-
[Mon Jan 19 23:47:49 2009] [alert] apache: Could not determine the server's fully qualified domain name, using 192.168.1.100 for ServerName
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/apache/libexec/dbg-php-4.3.so' - /usr/local/apache/libexec/dbg-php-4.3.so: cannot open shared object file: No such file or directory in Unknown on line 0
[Mon Jan 19 23:47:49 2009] [notice] Apache/1.3.37 (Unix) PHP/5.2.0 configured -- resuming normal operations
[Mon Jan 19 23:47:49 2009] [notice] Accept mutex: sysvsem (Default: sysvsem)
|
dbg is not loaded - please help
((
Note that the following command works - meaning that the path in the error message exists and the file in there:-
$ls /usr/local/apache/libexec/dbg-php-4.3.so
|
Thanks.