Re: Enabling gtk.so in php.ini kills php-cli functionality through cron or ssh.

From: Date: Thu, 10 Aug 2006 15:29:59 +0000
Subject: Re: Enabling gtk.so in php.ini kills php-cli functionality through cron or ssh.
References: 1 2  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7080@lists.php.net to get a copy of this message
On Thu, 10 Aug 2006 13:52:13 +0530, Anant Narayanan wrote: > Hi Ivo, > >> Can anyone tell me if this is a bug or it should be documented? > > It is something that is to be documented. It is currently not within the > scope of the PHP-GTK 2 extension to detect the presence of an X server > and initialize accordingly. I'll have to wait, then, and use two php.ini files :) > Loading the php_gtk2.so extension in a non-X > environment doesn't make sense anyway. Sure, but I just loaded it from my php.ini not knowing any better and my backup scripts, written in php and ran from the cron scheduler, failed to run and backup my system... Thanks for the reply! Ivo

« previous php.gtk.general (#7080) next »