18th December 21:44
php.ini not being read
OS Solaris 9
I've been struggling with this for a while (googled etc), 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, as this is the second seperate
instance I've seen this on Solaris 9. Can anyone advise what to do to
try and fix this or is it a bug/Solaris issue?
TIA and Regards