Welcome Guest, Not a member yet? Register   Sign In
Permission denied error [Phil Sturgeon rest liberary]

Trying to use Phil Sturgeon rest liberary but when I run the server I get following error.

all my other projects works fine in same machine except this.

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required '/var/www/restserver/index.php' (include_path='.:/usr/share/php:/usr/share/php/PEAR') in Unknown on line 0

You usually get this error when there is a permissions issue happening. Try messing around with permissions of your files and folders until you work it out and then work back from there until you have secure settings that work. Try Chmod'ing public folders to: 755 and public files to: 644.

Theme © iAndrew 2016 - Forum software by © MyBB