php.net |  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
 [2010-10-08 19:56 UTC] frozenfire at thefrozenfire dot com
Description:
------------
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-10-12 23:06 UTC] markskilbeck@php.net
-Status: Open +Status: Bogus
 [2010-10-12 23:06 UTC] markskilbeck@php.net
This is why we use a separate configuration file for PHP-GTK.

http://oops.opsat.net/doc/gtk/configure-php.html
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 05:01:30 2024 UTC