[opensuse-factory] php5 question/issue/proposal ?
Dear all, I'm building package php5-gtk because of the scan directory I have an issue when php5-gtk is installed in combination with apache2 i.e. for instance cacti doesn't work any more as php tries to start up with php-gtk when it's installed. I think it would be better to have outside of the /etc/php5/conf.d also /etc/php5/apache2/conf.d and /etc/php5/cli/conf.d in which specific ini files can be put that are only used for either apache2 or cli. In my case the php5-gtk.ini would reside in /etc/php5/cli/conf.d as it's a cli implementation only. I think the php5.spec file can be change in the following way: --with-config-file-scan-dir=%{php_sysconf}/conf.d %{php_sysconf}/$sapi/conf.d I've read that --with-config-file-scan-dir can now have more than one directory. Regards, Joop. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 11/12/09 18:40, Joop Boonen wrote:
Dear all,
I'm building package php5-gtk because of the scan directory I have an issue when php5-gtk is installed in combination with apache2 i.e. for instance cacti doesn't work any more as php tries to start up with php-gtk when it's installed.
This is a know issue..
I've read that --with-config-file-scan-dir can now have more than one directory.
We might change this, atm however Im testing a patch to workaround the problem, please test the next php5-gtk build and tell me your results. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Fri, December 11, 2009 11:23 pm, Cristian RodrÃguez wrote:
On 11/12/09 18:40, Joop Boonen wrote:
Dear all,
I'm building package php5-gtk because of the scan directory I have an issue when php5-gtk is installed in combination with apache2 i.e. for instance cacti doesn't work any more as php tries to start up with php-gtk when it's installed.
This is a know issue..
I've read that --with-config-file-scan-dir can now have more than one directory.
We might change this, atm however Im testing a patch to workaround the problem, please test the next php5-gtk build and tell me your results.
Can you please let me know when the next php5-gtk build will be available i.e. what the (minimal) svn version will be? (Currently the php5-gtk rpm package is a bit broken as it doesn't put the gtk.ini file in /etc/php5/conf.d . As it think apache2 php is currently more important than php5-gtk. For testing the /etc/php5/cli/gtk.ini file needs to be copied, moved or symlinked to /etc/php5/conf.d/).
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On 11/12/09 19:47, Joop Boonen wrote:
Can you please let me know when the next php5-gtk build will be available i.e. what the (minimal) svn version will be?
I just submitted a patch against php5-gtk package in server:php:extensions repository php-gtk-2.0.1+svn292001-cli-only.patch, It needs testing. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
On Fri, December 11, 2009 10:40 pm, Joop Boonen wrote:
Dear all,
I'm building package php5-gtk because of the scan directory I have an issue when php5-gtk is installed in combination with apache2 i.e. for instance cacti doesn't work any more as php tries to start up with php-gtk when it's installed.
I think it would be better to have outside of the /etc/php5/conf.d also /etc/php5/apache2/conf.d and /etc/php5/cli/conf.d in which specific ini files can be put that are only used for either apache2 or cli. In my case the php5-gtk.ini would reside in /etc/php5/cli/conf.d as it's a cli implementation only.
I think the php5.spec file can be change in the following way: --with-config-file-scan-dir=%{php_sysconf}/conf.d %{php_sysconf}/$sapi/conf.d
I've read that --with-config-file-scan-dir can now have more than one directory.
An other option would be the way Debian proposes to handles it: http://wiki.debian.org/PHP#New.2BAC8-Betterextensionsmanager They scan only in /etc/php5/$sapi(apache2|cli)/conf.d. They create symlinks to the specific ini files in /etc/php2/conf.d
Regards,
Joop.
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org
participants (2)
-
Cristian Rodríguez
-
Joop Boonen