Page 1 of 1

how do I tell if php is executed as a separate CGI binary

Posted: Tue Oct 30, 2007 7:16 am
by emalrola
Forgive my ignorance. I am setting up googlecheckout for an oscommerce store which is runing on a shared linux server.

I have got to the point where I have to know whether php is executed as a separate CGI binary.

1) How do I check this? All I know is it works however the hosting company have set it up...

2) Can anyone point me to an idiots guide explaining the different set ups and their pros/cons (NB please don't point me to a site that tells me how to do it. I want to know why not how)

Thanks

Posted: Tue Oct 30, 2007 7:55 am
by jmut
phpinfo() may help

Posted: Tue Oct 30, 2007 8:12 am
by emalrola
What part of the phpinfo() will tell me?

Thanks

Posted: Tue Oct 30, 2007 9:04 am
by jmut
Server API

read it all...not that big...intersting info.

Posted: Tue Oct 30, 2007 9:27 am
by emalrola
So if server API is apache, does that mean it is or it isn't executed as a separate CGI binary?

I am sorry, I know nothing about unix - I am a website deisgner/programmer NOT a computer technician.

Posted: Tue Oct 30, 2007 9:56 am
by jmut
emalrola wrote:So if server API is apache, does that mean it is or it isn't executed as a separate CGI binary?

I am sorry, I know nothing about unix - I am a website deisgner/programmer NOT a computer technician.
it means it's running as apache module.
it will say CGI if its running as CGI

Posted: Tue Oct 30, 2007 10:57 am
by emalrola
Thanks