Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46609 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39891 invoked from network); 6 Jan 2010 20:43:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jan 2010 20:43:43 -0000 Authentication-Results: pb1.pair.com header.from=joop_boonen@web.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=joop_boonen@web.de; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain web.de from 213.148.239.77 cause and error) X-PHP-List-Original-Sender: joop_boonen@web.de X-Host-Fingerprint: 213.148.239.77 d594ef4d.static.dsl.concepts.nl Received: from [213.148.239.77] ([213.148.239.77:25062] helo=d594ef4d.static.dsl.concepts.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 46/7D-12956-EF5F44B4 for ; Wed, 06 Jan 2010 15:43:42 -0500 Received: from imap.homeuse (unknown [172.16.0.3]) by d594ef4d.static.dsl.concepts.nl (Postfix) with ESMTP id 0AFF352E for ; Wed, 6 Jan 2010 21:43:38 +0100 (CET) Received: from www.boonen.name (localhost [127.0.0.1]) by imap.homeuse (Postfix) with ESMTP id BE25CE6 for ; Wed, 6 Jan 2010 21:43:38 +0100 (CET) Received: from 192.168.106.131 (SquirrelMail authenticated user jboonen) by www.boonen.name with HTTP; Wed, 6 Jan 2010 21:43:38 +0100 Message-ID: Date: Wed, 6 Jan 2010 21:43:38 +0100 To: internals@lists.php.net User-Agent: SquirrelMail/1.4.19 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Question about where to put the gtk.ini file for php(5)-gtk? From: joop_boonen@web.de ("Joop Boonen") All, I have a question. I'm building the php(5)-gtk package. But when I put the gtk.ini in /etc/php5/conf.d which is the "--with-config-file-scan-dir". php programs like cacti that are accessed via apache don't run any more. As it also want to start up gtk but it fails because it doesn't have a display. Which is logical and also wanted. As the gtk.ini file should only be in cli (and not apache etc), I'm wondering how this issue could be best handled? Is there a way to put two directories in --with-config-file-scan-dir like --with-config-file-scan-dir=%{php_sysconf}/conf.d %{php_sysconf}/$sapi/conf.d Regards, Joop.