Error 403 - Forbidden

If you're getting error 403 - Forbidden running your PHP script, the chances are that it's not owned by you or not executable.

From the terminal

>chown user.user scriptname.php 

and/or

>chmod +x scriptname.php 

You may also be able to change the ownership or read/write/execute permissions in your FTP program.

If you're unable to change either, please raise a support ticket an include details of which file to be changed. 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

PHP v4

PHP v4 was officially announced as reaching it's End-Of-Life in July 2007. No more PHP v4...

Error 500 - Internal Server Error

Usually you get this error when the script you're trying to run isn't owned by yourself or it's...

Use of php_flag or php_value in .htaccess

If you're on a server with SUPHP enabled, some PHP options in .htaccess files, such as php_flag...

Using PHP in .html files

If you want to use .html or .htm files but still have it parsed by PHP then you'll need to add a...

PHP Tutorials

We came across these tutorials on PHP and have to say we're impressed! If you want to pick up...