Extension Installation

php.internals

Michael B Allen

20 years ago
Is /etc/php.d a standard part of *every* php4 installation? Can I rely on it's existance? Is it's location a configuable option? Thanks, Mike
-- Michael B Allen PHP Extension for SSO w/ Windows Group Authorization http://www.ioplex.com/

Sean Coates

20 years ago
Michael B Allen wrote:
> Is /etc/php.d a standard part of *every* php4 installation? Can I rely > on it's existance? Is it's location a configuable option?
No, you can't rely on it. What's in there? S

Pierre Joye

20 years ago
On Fri, 9 Jun 2006 18:15:31 -0400 mba2000@ioplex.com (Michael B Allen) wrote:
> Is /etc/php.d a standard part of *every* php4 installation? Can I rely > on it's existance? Is it's location a configuable option?
It is a distribution specific directory. Some uses it other not. The PHP releases (http://www.php.net/downloads.php) rely only on one php.ini, which is configurable. -- Pierre

Derick Rethans

20 years ago
On Sat, 10 Jun 2006, Pierre wrote:
> On Fri, 9 Jun 2006 18:15:31 -0400 > mba2000@ioplex.com (Michael B Allen) wrote: > > > Is /etc/php.d a standard part of *every* php4 installation? Can I rely > > on it's existance? Is it's location a configuable option? > > It is a distribution specific directory. Some uses it other not. > > The PHP releases (http://www.php.net/downloads.php) rely only on one > php.ini, which is configurable.
Actually, there is also an option that allows you to scan a specific directory for ini files as well: --with-config-file-scan-dir=/etc/httpd/extra-ini regards, Derick

Rasmus Lerdorf

20 years ago
Derick Rethans wrote:
> On Sat, 10 Jun 2006, Pierre wrote: > >> On Fri, 9 Jun 2006 18:15:31 -0400 >> mba2000@ioplex.com (Michael B Allen) wrote: >> >>> Is /etc/php.d a standard part of *every* php4 installation? Can I rely >>> on it's existance? Is it's location a configuable option? >> It is a distribution specific directory. Some uses it other not. >> >> The PHP releases (http://www.php.net/downloads.php) rely only on one >> php.ini, which is configurable. > > Actually, there is also an option that allows you to scan a specific > directory for ini files as well: > > --with-config-file-scan-dir=/etc/httpd/extra-ini
Something I'd like to see more distros make use of. I am not sure how to get the ball rolling on that though, but it makes packaging up extensions so much easier when all you need is to drop a foo.ini file in a directory instead of trying to modify a single ini file. -Rasmus

Pierre Joye

20 years ago
Hello, On 6/10/06, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
> Something I'd like to see more distros make use of. I am not sure how > to get the ball rolling on that though, but it makes packaging up > extensions so much easier when all you need is to drop a foo.ini file in > a directory instead of trying to modify a single ini file.
I think all modern distros use this option (afair fedora, debian and ubuntu do at least). --Pierre

Mark Evans

20 years ago
> I think all modern distros use this option (afair fedora, debian and > ubuntu do at least).
RHEL 4 / Centos and Freebsd also use this option. Regards Mark