CodeIgniter Forums
Permission denied error [Phil Sturgeon rest liberary] - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22)
+--- Thread: Permission denied error [Phil Sturgeon rest liberary] (/showthread.php?tid=44118)



Permission denied error [Phil Sturgeon rest liberary] - El Forum - 08-04-2011

[eluser]mak.gnu[/eluser]
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.

Code:
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



Permission denied error [Phil Sturgeon rest liberary] - El Forum - 08-04-2011

[eluser]Vheissu[/eluser]
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.