You are using embedded PHP ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • neorder
    Junior Member
    • Mar 2004
    • 12

    #1

    You are using embedded PHP ?

    I've seen quite a number of reseller company have this

    "You are using embedded PHP " in their phpinfo header, what is it ah

    eg http://205.134.251.4/phpinfo.php

    also, they seems all using php as apache module, why dathorn use cgi? is this cgi fastcgi? what's the different and what's the pros & cons?

    thanks.
  • AndrewT
    Administrator
    • Mar 2004
    • 3655

    #2
    We utilize phpsuexec or suPHP on all servers. They are both essentially the same, cPanel has just replaced phpsuexec with suPHP in EasyApache 3. Both of these run PHP as CGI. Ultimately this is tremendously more secure than running it as an Apache module.

    With phpsuexec / suPHP the PHP scripts are executed as the domain user instead of the generic Apache user (typically "nobody"). This makes tracking down rogue scripts, spammers, etc. very easy. It also removes the need to chmod anything to 777 in order to be able to write to it, which is not a great idea in a shared environment. You can also fully configure your own php.ini file.

    Comment

    Working...