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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux