Mailinglist Archive: opensuse-buildservice (260 mails)

< Previous Next >
[opensuse-buildservice] Re: [opensuse-factory] php5 question/issue/proposal ?
  • From: "Joop Boonen" <joop_boonen@xxxxxx>
  • Date: Fri, 11 Dec 2009 23:24:41 +0100
  • Message-id: <2e8d380379c07ca54d8a80e39a604096.squirrel@xxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx




--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread
References