Re: minor but annoying issue
| From: | Jeremy Johnstone | Date: | Mon, 10 Oct 2005 00:18:09 +0000 |
| Subject: | Re: minor but annoying issue | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-1766@lists.php.net to get a copy of this message | ||
Seems I answered my own question, but I don't like the answer. If I
set a DISPLAY variable in the environment then it works fine. Still
would be nice if we correctly detected if we were even accessing GTK
before requiring the DISPLAY to be set.
-Jeremy
On 10/9/05, Jeremy Johnstone <phpdev@gmail.com> wrote:
> Doubt anyone has any tips but worth a shot anyway.
>
> In OSX, if I load the php-gtk2 extension via my normal php.ini and try
> to run the PHP CLI via the command line in a normal terminal window,
> php immediately exits without any errors or output (even something
> simple like /usr/local/bin/php -v). GDB doesn't give any further
> useful information other than the program exited with code 01.
>
> Due to the fact that it works fine via an X11 xterm, I would assume it
> has something to do with not being able to attach to the display. I'm
> hoping there is some way to make PHP-GTK work without forcing me to
> use a seperate config file for it.
>
> -Jeremy
>
>
> --
> ---------------------------
> Jeremy Johnstone
> http://www.jeremyjohnstone.com
> jsjohnst@php.net
>
--
---------------------------
Jeremy Johnstone
http://www.jeremyjohnstone.com
jsjohnst@php.net