|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #53026 Cannot use CLI without a graphical environment
Submitted: 2010-10-08 19:56 UTC Modified: 2010-10-12 23:06 UTC
From: frozenfire at thefrozenfire dot com Assigned:
Status: Not a bug Package: PHP-GTK related
PHP Version: 5.3.3 OS: Ubuntu 10.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
13 + 20 = ?
Subscribe to this entry?

 [2010-10-08 19:56 UTC] frozenfire at thefrozenfire dot com
With PHP-GTK installed, PHP is unable to start without a graphical environment available in the current user session. This occurs even when PHP-GTK is not invoked in any way, and even if no code is loaded at all.

Attempting to run PHP with PHP-GTK installed, without a GTK-capable graphical environment available, causes it to exit after printing "Could not startup." to the output.

This issue makes it impossible to utilize PHP over a non-X-Forwarded SSH connection or in a cronjob, when PHP-GTK is installed.

PHP-GTK version: Recent SVN trunk


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-12 23:06 UTC]
-Status: Open +Status: Bogus
 [2010-10-12 23:06 UTC]
This is why we use a separate configuration file for PHP-GTK.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 22 11:01:32 2024 UTC