tefflox Posted July 8, 2006 Share Posted July 8, 2006 Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0Warning: Unknown: Failed opening '/var/www/00/index.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0this page works fine at [url=http://listenlight.net/00/]http://listenlight.net/00/[/url] but on my localhost (default ubuntu LAMP) it throws that error. all the other pages work fine, and the code/markup is nearly identical. thank you kindly for your time Quote Link to comment https://forums.phpfreaks.com/topic/14000-error-on-lamp-localhost-plz-help/ Share on other sites More sharing options...
Daniel0 Posted July 8, 2006 Share Posted July 8, 2006 Hi, it's a permission problem.In the shell type the following commands[code]chmod -R 777 /var/wwwchown www-data:www-data /var/www[/code]It should be /var/www if it's the LAMP from Ubuntu.NOTE: You have to be root to use these functions there. If you a using Ubuntu you may prepend 'sudo'. Quote Link to comment https://forums.phpfreaks.com/topic/14000-error-on-lamp-localhost-plz-help/#findComment-54684 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.