On Wed, 09 Aug 2006 11:14:11 +0100, Colin Guthrie wrote: > Ivo F.A.C. Fokkema wrote: >> SO: Loading the GTK library in your /etc/php4/cli/php.ini, KILLS the >> PHP-cli functionality from cron. On Ubuntu Dapper, that is. Not sure about >> other distros. >> >> Thanks guys, for all of your suggestions! > > Ahh it probably *needs* an X Server to work properly. I'll bet if you > logged into your machine via SSH or the console without beign logged > into a graphical env. that it would also fail. Bingo! You're absolutely right. I copied my php.ini to one that includes the module again, and when using that ini I can still run a 'Hello world' script through the console, but NOT when logged in through ssh from another machine. Good thinking! > Well found tho', this would seem like a bug in the GTK stuff tho'. I'll file a bug against this behaviour upstream :) Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php