Re: Ways to tell if existing setup is SAPI or Shared Object?

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

 




On Apr 19, 2007, at 4:59 PM, Weston C wrote:

On 4/19/07, Richard Lynch <ceo@xxxxxxxxx> wrote:
On Thu, April 19, 2007 4:08 pm, Weston C wrote:
> What ways are there to tell if PHP is actually built into an Apache 2
> installation or if it's installed as a shared object?
>
> phpinfo() / Server API value .. just says "Apache 2.0 Filter"

If you can read httpd.conf, and find a LoadModule there with php, then
it's shared, I think.

I do have access to httpd.conf. I can't find a LoadModule directive
for php in it, though. Is that a bad sign? Could they possibly have
been stuffed into any of the other lesser-used conf files?

Fedora, and I'm assuming RedHat and possibly others that use their system layout, will put the loading line in /etc/httpd/conf.d/ php.conf so yes it can be in an external configuration file.


Ed

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux