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

From: Date: Thu, 10 Aug 2006 07:51:12 +0000
Subject: Enabling gtk.so in php.ini kills php-cli functionality through cron or ssh.
Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-7077@lists.php.net to get a copy of this message
Hi list, It took me a long time to figure this out and eventually had this fixed after some consulting the php.general list. - Occurs on Linux Ubuntu Breezy and Ubuntu Dapper. - After enabling the gtk.so in the php.ini file of php4-cli, all php scripts run by php-cli fail to run through cron or ssh throwing the error "Could not startup.". Even php -i fails. This broke my backup system completely, that runs on php-cli through cron. - It seems the gtk.so library needs a connection to the X server to run. If it fails to initialize, it takes down the whole php-cli environment. Can anyone tell me if this is a bug or it should be documented? Thanks for any input. Ivo

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