php.ini fails to be read (when vitual hosts are used)
| From: | Daniel Bird | Date: | Wed, 31 Aug 2005 23:34:45 +0000 |
| Subject: | php.ini fails to be read (when vitual hosts are used) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-16615@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear All,
OS Solaris 9
Apache 2.0.54
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
expect.
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
Dan
- --
____________________________________
Daniel Bird
Network and Systems Manager
Department Of Information Services
St. George's, University Of London
Tooting
London SW17 0RE
P: +44 20 8725 2897
F: +44 20 8725 3583
E: dan@sgul.ac.uk
____________________________________
Computing Services Homepage:
http://www.sgul.ac.uk/depts/cu
The Computing Services Handbook:
http://www.sgul.ac.uk/pics/cu/pdfs/handbook2003-4.pdf
The best way to accelerate a Mac is at 9.8 m / sec^2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDFj6VPnhz2OZ7I3gRAgrQAJ4gftM3d/jS2YdYxuNKdP9hb9Fv4ACgsr6F
WBDoWmAz9x/2linx+pTjzRs=
=s3Ap
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.