|  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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: frozenfire at thefrozenfire dot com
New email:
PHP Version: OS:


 [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-2023 The PHP Group
All rights reserved.
Last updated: Sun May 28 07:03:39 2023 UTC