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

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
emalrola
Forum Newbie
Posts: 9
Joined: Mon Jun 04, 2007 3:44 am

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

Post 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
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

phpinfo() may help
emalrola
Forum Newbie
Posts: 9
Joined: Mon Jun 04, 2007 3:44 am

Post by emalrola »

What part of the phpinfo() will tell me?

Thanks
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post by jmut »

Server API

read it all...not that big...intersting info.
emalrola
Forum Newbie
Posts: 9
Joined: Mon Jun 04, 2007 3:44 am

Post 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.
jmut
Forum Regular
Posts: 945
Joined: Tue Jul 05, 2005 3:54 am
Location: Sofia, Bulgaria
Contact:

Post 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
emalrola
Forum Newbie
Posts: 9
Joined: Mon Jun 04, 2007 3:44 am

Post by emalrola »

Thanks
Post Reply