ShoeMZ Posted February 2, 2007 Share Posted February 2, 2007 Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/members.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0 Can anyone tell me how to fix this? I'm running Ubuntu 6.06 LTS. Link to comment https://forums.phpfreaks.com/topic/36800-phpmysql-problem/ Share on other sites More sharing options...
wildteen88 Posted February 2, 2007 Share Posted February 2, 2007 It is a permissions issue with the php file you are requesting. Make sure the permissions for the file is set correctly chmod permission 0644 should be fine (i think). Also make sure the php file is owned by you too. (the user you use to login to ubuntu). Link to comment https://forums.phpfreaks.com/topic/36800-phpmysql-problem/#findComment-175578 Share on other sites More sharing options...
ShoeMZ Posted February 2, 2007 Author Share Posted February 2, 2007 Thanks for the quick response. I chmodded the htdocs directory to 0644 and now I no longer have a php error, yet out of the darkness an apache error came up: Forbidden You don't have permission to access /members.php on this server. So the saga continues... Link to comment https://forums.phpfreaks.com/topic/36800-phpmysql-problem/#findComment-175594 Share on other sites More sharing options...
ShoeMZ Posted February 8, 2007 Author Share Posted February 8, 2007 bump Link to comment https://forums.phpfreaks.com/topic/36800-phpmysql-problem/#findComment-179731 Share on other sites More sharing options...
hvle Posted February 8, 2007 Share Posted February 8, 2007 umm... you chmod the directory, you did not chmod the files. Go in there and chmod every single file to 0557 Link to comment https://forums.phpfreaks.com/topic/36800-phpmysql-problem/#findComment-179738 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.