About suPHP Print

  • 0

Your website runs in suPHP, which is a more secure environment for executable files. This secure environment makes 777 file permissions unacceptable, and makes a file called php.ini necessary in some cases.

Some common changes that you must make when moving from non-secure php environment to suPHP:

For example, if your site had these settings in a .htaccess file:

php_flag upload_max_filesize 10M
php_value post_max_size 10M
php_value max_execution_time 30

SuExec users must put them in a php.ini file instead. Here is the proper syntax:

 

upload_max_filesize = 10M
post_max_size = 10M
max_execution_time = 30

Was this answer helpful?

« Back