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

2010-04-01 Thread Devendra Jadhav
On Thu, Apr 1, 2010 at 11:30 PM, Nilesh Govindarajan wrote: > 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 te

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

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 w

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 e

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 al

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 Jadhavwrote: On Thu, Apr 1, 2010 at 7:13 PM, Teus Benschopwrote: 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 b

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 wrote: > On Thu, Apr 1, 2010 at 7:13 PM, Teus Benschop wrote: > >> 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 t

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 wrote: > 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: > > phpinfo (); > ?> > > Te

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: Teus. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

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 is c

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. T

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 wrote: > 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

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.

[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. Appreciat