NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
debuging php-gtk


Joined: 24 Jul 2004
Posts: 2
Reply with quote
is this possible? I see it mentioned in the manual under Setting the runmode->local cgi mode, but no matter what mode I try php-gtk tells me "PHP-GTK+ support is not available under webservers". Is there another configuration drective Im missing? I've tried setting the runmode to local cgi both in global settings and on my current project. Any ideas?
View user's profileFind all posts by ehalvorsenSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
you'd try to work with php-cli instead of php binary.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 24 Jul 2004
Posts: 2
Reply with quote
how do I do this (under xp)?
View user's profileFind all posts by ehalvorsenSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
set php-cli.exe instead of php.exe in tools->settings->Srv web server->File extensions. By default .php is associated with C:\Program Files\nusphere\phped\php\php.exe, and it's what you have to change.
Also make sure you set Local CGI (php.exe) mode in tools->settings->IDE.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Nov 2004
Posts: 2
Reply with quote
I tried this setting too, but with no success :

php-gtk 1.0.1 and 1.0.0 come with php.exe, php_win.exe and php-cgi.exe (no php-cli.exe). php.exe and php_win.exe both generate a 'Session start timeout...' error. I followed your instructions at http://forum.nusphere.com/howto-install-debugger-module-t576.html

php-cgi generates the message already mentionned by ehalvorsen.

Did I miss anything ?
View user's profileFind all posts by Didier ALAINSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
make sure debugger is installed by calling phpinfo() in a script. I think that's the problem.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 25 Nov 2004
Posts: 2
Reply with quote
No I don't think so, I told in the previous message that I followed your well done guide about installing the debugger. I also already checked the phpinfo, making a php.exe -i > phpinfo.txt at the command line. Here is the firt lines :

--
phpinfo()
PHP Version => 4.3.9-dev

System => Windows NT XX 5.1 build 2600
Build Date => Jul 30 2004 09:58:17
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => C:\php4\php.ini
PHP API => 20020918
PHP Extension => 20020429
Zend Extension => 20021010
Debug Build => no
Thread Safety => enabled
Registered PHP Streams => php, http, ftp, compress.zlib


This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with DBG v2.16.14, (C) 2000,2004, by Dmitri Dmitrienko
--

I copied the right php_dbg.dll (in the right directory), well I think so : php_dbg.dll.4.3.9 (see the php version in php-gtk 4.3.9-dev). I'm going to triple check my install, but could you confirm me that DBG is known to work with php-gtk 1.0.0 or 1.0.1 ?
View user's profileFind all posts by Didier ALAINSend private message
debuging php-gtk
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