What is phpSuExec?

phpSuExec (pronounced sue-eksek) is a more secure environment for PHP. All of our shared servers are phpSuExec. Most dedicated are as well.

This secure environment makes 777 file permissions unacceptable, and makes php.ini necessary.

To verify your server is using phpsuexec, create a simple 'php info' script.
Create a file named 'phpinfo.php' in the public_html folder of your site and insert the following code:

phpinfo();
?>

Load the file in your browser and in the top section find the line 'Server API'.
If it shows 'CGI' then your account is on a server with phpsuexec.
If it shows 'apache' then you are NOT on a phpsuexec server.

Now you also know if PHP is running as Apache or CGI.

 

Was this answer helpful?

 Print this Article

Also Read

How to flush DNS cache in my PC?

How to flush DNS cache in Linux / Windows / Mac Flush dns to get a new name resolution. Also...

How do I setup custom php.ini settings?

We have recently updated many of our shared hosting servers to php 5 with phpSuExec enabled. This...

CAPTCHA: Telling Humans and Computers Apart Automatically

A CAPTCHA is a program that protects websites against bots by generating and grading tests that...

What is the path to public html in php?

The path to public html is: home/$cpusername/public_html/

How do I perform a trace route?

Traceroute (tracert) works by sending a packet to an open UDP port on a destination machine. For...