NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PHP debugger on QNap (Linux) -- Apache 1.3.37 - PHP 5.2.0


Joined: 19 Jan 2009
Posts: 1
Reply with quote
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:-

Code:
$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

Code:

$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:-

Code:

extension_dir = /usr/local/apache/libexec
 

[...]
Code:

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:-
Code:

$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:-

Code:

[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 Sad((

Note that the following command works - meaning that the path in the error message exists and the file in there:-
Code:

$ls /usr/local/apache/libexec/dbg-php-4.3.so





Thanks.
View user's profileFind all posts by Joey007Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8239
Reply with quote
Quote:
$ldd --version
ldd (GNU libc) 2.2.4


glibc prior to version 2.3 is not supported.
What you have is 2.2.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Re: PHP debugger on QNap (Linux) -- Apache 1.3.37 - PHP 5.2.


Joined: 25 Sep 2007
Posts: 6
Reply with quote
Joey007 wrote:


Code:
$uname -a
Linux NAS 2.6.12.6-arm1 #10 Fri Nov 14 19:39:38 CST 2008 armv5tejl unknown



You also have an ARM processor and not an x86. The debugger is compiled for x86 (and I believe PowerPC, at least on the MAC).

I don't think this is going to work as a development environment unless NuSphere can re-compile the debugger for you.


HTH,

Nick
View user's profileFind all posts by intellispireSend private message
PHP debugger on QNap (Linux) -- Apache 1.3.37 - PHP 5.2.0
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic