0

Good day, please help, when i transfer my phpcode in ubuntu I am getting this error * Warning: include(includes/sidebar.php) [function.include]: failed to open stream: Permission denied in /opt/lampp/tg/index.php on line 47*

but when I'm using Windows vista my pages are okey... please help thank You..

2
Contributors
2
Replies
3
Views
5 Years
Discussion Span
Last Post by bLuEmEzzy
0

Just my guess since I am not using Ubuntu but Fedora. I think scripts and web pages should be in a directory that is defined in a webserver configuration (in Fedora and some other distros the config file is /etc/httpd/conf/httpd.conf and the web pages are in /var/www/html). The directories and files should be owned by either a webserver user (apache in Fedora) or just the normal user that created them. The directories on my webserver have permissions rwxr-xr-x and the files are rw-r--r-- and everything works OK. So check your Apache config file and the permissions.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.