Access Forbidden: suPHP File Permission

Access Forbidden. You don't have permission to access / on this server.

Please set the following permissions to fix this error:

  • Ensure no directories on your account have 777 permissions. Reassign 755 permissions and this will resolve the issue (via FTP / File Manager).
  • Ensure that all .php files on your account have 644 permissions.
  • If you maintain an .htaccess file, move any lines starting with "php_value" and "php_flag" to a new php.ini file in your public_html and add the following code to your .htaccess file:

<IfModule mod_suphp.c>
suPHP_ConfigPath /home/YourUsername/public_html
<Files php.ini>
order allow,deny
deny from all

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I view the php info page?

Create a page name phpinfo.php and insert the below code into it. Pull this page up in your...

How do I redirect visitors to another page using PHP?

Redirection in PHP can be done using the header() function. To setup a simple redirect, create...

Changing your default timezone via PHP

You can change the time zone being displayed with a PHP script. Here is sample code:...

Hide PHP Strict Standards Errors

To hide the PHP Strict Standards Errors, create a php.ini file in your public_html directory and...