Re: [Fwd: PHP Fatal error: php-gtk: Could not open display in Unknownon line 0]

From: Date: Mon, 25 Feb 2008 18:52:29 +0000
Subject: Re: [Fwd: PHP Fatal error: php-gtk: Could not open display in Unknownon line 0]
References: 1  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-4156@lists.php.net to get a copy of this message
Andrei Zmievski wrote: > > > ------------------------------------------------------------------------ > > Subject: > PHP Fatal error: php-gtk: Could not open display in Unknown on line 0 > From: > Reindl Harald <h.reindl@thelounge.net> > Date: > Mon, 03 Mar 2008 10:37:42 +0100 > To: > andrei@php.net > > To: > andrei@php.net > > > > Hi > > If you activate php_gtk in "/etc/php.ini" you will be unable to use > php for cron-jobs and shellscripts over ssh even until you diable it! > > I can not believe taht im the only person who uses php for > shellscripting :-) > ... for windows we just dump a php-cli.ini in the same directory - search path stuff makes this work since you'll probably use a separate binary for cron-jobs and shell scripts on win - on nix it's a bit more complicated Any chance we can hack in a php-gtk.ini so we can totally avoid any issues? Elizabeth

« previous php.gtk.dev (#4156) next »