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

What is the meaning of owner, group, and everyone in the permissions panel?

- Owner defines the permissions set for your main FTP account. - Group defines permissions valid...

Can I add my own CGI scripts?

Our LINUX web servers have the capability to run CGI scripts in your own 'cgi-bin' directory....

What is php.ini ?

The php.ini file is a special file for phpSuExec (pronounced php-soo-ec-sec). The...

How do I get different character sets to display in HTML?

Many web browsers display Western Character Encoding (ISO-8859-1) by default. This means that...

How do I create a redirect for my site?

These rules should be added to your .htaccess file located in your public_html folder. This rule...