Re: [PHP] How to know which PHP is used by Apache

2010-04-02 Thread Devendra Jadhav
On Thu, Apr 1, 2010 at 11:30 PM, Nilesh Govindarajan li...@itech7.comwrote: On 04/01/10 23:03, Kevin Kinsey wrote: Nilesh Govindarajan wrote: libphp5.so doesn't need the php binary. You're right, and of course not. libphp5.so *is* a PHP binary :-) I've confirmed this using a test.

[PHP] How to know which PHP is used by Apache

2010-04-01 Thread Devendra Jadhav
Hi All, In the situation if there are two PHP's installed on the Linux box. How to know which PHP is used by Apache? Another question is do Apache need PHP's binary to execute PHP Scripts? If yes what is the role of libphp5.so in Apache? Note: PHP is configured as module under Apache

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Ashley Sheridan
On Thu, 2010-04-01 at 19:00 +0530, Devendra Jadhav wrote: Hi All, In the situation if there are two PHP's installed on the Linux box. How to know which PHP is used by Apache? Another question is do Apache need PHP's binary to execute PHP Scripts? If yes what is the role of libphp5.so

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Devendra Jadhav
On Thu, Apr 1, 2010 at 6:59 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Thu, 2010-04-01 at 19:00 +0530, Devendra Jadhav wrote: Hi All, In the situation if there are two PHP's installed on the Linux box. How to know which PHP is used by Apache? Another question is do Apache

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Richard
Hi, In the situation if there are two PHP's installed on the Linux box. How to know which PHP is used by Apache? Another question is do Apache need PHP's binary to execute PHP Scripts? If yes what is the role of libphp5.so in Apache? Note: PHP is configured as module under Apache

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Nilesh Govindarajan
On 04/01/10 19:00, Devendra Jadhav wrote: Hi All, In the situation if there are two PHP's installed on the Linux box. How to know which PHP is used by Apache? Another question is do Apache need PHP's binary to execute PHP Scripts? If yes what is the role of libphp5.so in Apache? Note: PHP

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Teus Benschop
On Thu, 2010-04-01 at 19:07 +0530, Devendra Jadhav wrote: With my case both installation of PHP has version 5.x, so how to know which PHP is being used? Running this page through Apache could do it: ?php phpinfo (); ? Teus. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Devendra Jadhav
On Thu, Apr 1, 2010 at 7:13 PM, Teus Benschop teusjanne...@gmail.comwrote: On Thu, 2010-04-01 at 19:07 +0530, Devendra Jadhav wrote: With my case both installation of PHP has version 5.x, so how to know which PHP is being used? Running this page through Apache could do it: ?php

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Devendra Jadhav
On Thu, Apr 1, 2010 at 7:22 PM, Devendra Jadhav devendra...@gmail.comwrote: On Thu, Apr 1, 2010 at 7:13 PM, Teus Benschop teusjanne...@gmail.comwrote: On Thu, 2010-04-01 at 19:07 +0530, Devendra Jadhav wrote: With my case both installation of PHP has version 5.x, so how to know which PHP

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Nilesh Govindarajan
On 04/01/10 20:30, Devendra Jadhav wrote: On Thu, Apr 1, 2010 at 7:22 PM, Devendra Jadhavdevendra...@gmail.comwrote: On Thu, Apr 1, 2010 at 7:13 PM, Teus Benschopteusjanne...@gmail.comwrote: On Thu, 2010-04-01 at 19:07 +0530, Devendra Jadhav wrote: With my case both installation of PHP has

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Kevin Kinsey
Devendra Jadhav wrote: I am still confused. As per Nilesh php's binary is not required and as per Ashley it is required. Which one is correct? And I am not able to find which php's binary is used by using phpinfo(). Anyone confident about either of the two answers? Pretty confident about

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Nilesh Govindarajan
libphp5.so doesn't need the php binary. I've confirmed this using a test. My local apache is configured to use libphp5.so I moved /usr/bin/php to /root, then started apache and ran drupal. It worked. This confirms that libphp5.so is independent of the php binary in /usr/bin as I suggested

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Kevin Kinsey
Nilesh Govindarajan wrote: libphp5.so doesn't need the php binary. You're right, and of course not. libphp5.so *is* a PHP binary :-) I've confirmed this using a test. My local apache is configured to use libphp5.so I moved /usr/bin/php to /root, then started apache and ran drupal. It

Re: [PHP] How to know which PHP is used by Apache

2010-04-01 Thread Nilesh Govindarajan
On 04/01/10 23:03, Kevin Kinsey wrote: Nilesh Govindarajan wrote: libphp5.so doesn't need the php binary. You're right, and of course not. libphp5.so *is* a PHP binary :-) I've confirmed this using a test. My local apache is configured to use libphp5.so I moved /usr/bin/php to /root, then