Question about where to put the gtk.ini file for php(5)-gtk?
| From: | Joop Boonen | Date: | Wed, 06 Jan 2010 20:43:45 +0000 |
| Subject: | Question about where to put the gtk.ini file for php(5)-gtk? | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-4385@lists.php.net to get a copy of this message | ||
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.