Mombu the Php Forum sponsored links

Go Back   Mombu the Php Forum > Php > php.ini not being read
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 18th December 21:44
dan
External User
 
Posts: 1
Default php.ini not being read



Dear All,

OS Solaris 9
Apache 2.0.54
PHP 4.4.0

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
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, 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

Dan
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666