Re: Cron running 'Hello world' script dies with "Could not startup."

From: Date: Thu, 10 Aug 2006 07:24:30 +0000
Subject: Re: Cron running 'Hello world' script dies with "Could not startup."
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-240446@lists.php.net to get a copy of this message
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!

« previous php.general (#240446) next »