|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 04:01:31 2024 UTC