httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Bird <>
Subject [users@httpd] php.ini not read (when using named virtual hosts)
Date Sun, 04 Sep 2005 17:52:14 GMT
Hash: SHA1
I originally posted this question to the php-install list but have had
no response, so I'm hoping someone here may have seen this issue and
can help out.

- ---

Dear All,

OS Solaris 9
Compiled from source Apache 2.0.54
Compiled from source  PHP 4.4.0

~ I've been struggling with this for a while, and I've finally nailed
it down to php.ini not being read as soon as a virtual host is
activated on my system.

i.e if a standard distro httpd.conf is installed, php finds
/usr/local/lib/php.ini and phpinfo() reports it as such as one would

As soon as I add virtual hosts (nothing fancy, just named vh's and
custom log locations etc), phpinfo reports "Configuration File
(php.ini) Path" as /usr/local/lib and omits the php.ini file.
Obviously, now nothing in php.ini is used.

I'm now at a loss as what to do next. Can anyone advise what to do to
try and fix this or is it a bug/Solaris issue?

TIA and Regards


- --

Daniel Bird
Network and Systems Manager
Department Of Information Services
St. George's, University Of London
London SW17 0RE

P: +44 20 8725 2897
F: +44 20 8725 3583

Computing Services Homepage:

The Computing Services Handbook:

The best way to accelerate a Mac is at 9.8 m / sec^2
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird -

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message