Hi all,
I'm looking at the php-gtk extension http://gtk.php.net/
This extension is a cli only extension (shouldn't be load into mod_php)
How can we configure it to load only for php-cli.
It seems that php only parse 1 directory for additionnal .ini file PHP_CONFIG_FILE_SCAN_DIR (/etc/php.d)
I search and found than other disto use /etc/php-cli.d or /etc/php/cli.d instead, but i don't find any solution to scan 2 directories...
A solution could be to have a simple wrapper, phpgtk
#!/bin/sh exec /usr/bin/php -d extension=php_gtk2.so "$@"
Any other idea ? Where to search ?
Thanks, Remi
php-devel@lists.fedoraproject.org