[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-gtk-general
Subject:    Re: [PHP-GTK] how to debug on windows
From:       "Frank M. Kromann" <frank () kromann ! info>
Date:       2003-08-15 8:38:46
[Download RAW message or body]

Hi,

When you test applications on Win32 you should use php.exe (CLI or CGI
version). The php_win.exe file is just a wrapper for php.exe to avoid the
extra console window created by php when executed from a shortcut.

- Frank

> Hi, 
> 
> I finally have my app in a working state and now need to transfer it to
> windows. 
> 
> I have used the firepages installer which seemed to work well and the
> examples all run. 
> 
> Unfortunately my app doesn't :( I just get a quick flash of a dos
> window. In my php ini file I have log errors turned on and given it an
> error_log  path of c:\windows\gtkdev\errors.txt but nothing is being
> written there. 
> 
> I am starting the script with c:\gtkdev\php4\php_win\ -c
> c:\gtkdev\php4\php.ini -f c:\gtkdev\scripts\main.php
> 
> If I substitute main.php for test.php which has no gtk but a deliberate
> error I get a message in the error log. Also other Gtk apps work.
> 
> Any suggestions greatly appreciated, i'm really not used to working
with
> windows
> 
> Thanks 
> Tony
> -- 
> 
> There are two ways to write error-free programs; only the third one
> works. 
> 
> 
> -- 
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 




-- 
PHP-GTK General Mailing List (http://gtk.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic