Sunday 15 March 2015

apache - Find out what PHP is running on -



apache - Find out what PHP is running on -

i have script running on apache , can executed command line.

how can know, on php script running, apache or command line?

there constant build in php can utilize php_sapi. if on commandline value of constant cli on command line. every other value cgi, cgi-fcgi, etc.

php apache

No comments:

Post a Comment