[users@httpd] php.ini not read (when using named virtual hosts)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
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
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@xxxxxxxxxx
____________________________________

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

iD8DBQFDGzROPnhz2OZ7I3gRAkcAAJ43wHqOhWqhbk+FE9RFK2MFxJH43gCfQTAk
dHM4D6tzRlNRNqnYqudHQbg=
=XwDp
-----END PGP SIGNATURE-----


--
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:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux