Page 1 of 1

problem seeing http://localhost/

PostPosted: 11. July 2008 07:32
by aeroeri
everything is installed correctly and is running alright (so it says so in the terminal), but when i try to do the localhost bit i get this error message:


Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream: Permission denied in /opt/lampp/htdocs/xampp/index.php on line 2

Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream: Permission denied in /opt/lampp/htdocs/xampp/index.php on line 12

Warning: include(lang/.php) [function.include]: failed to open stream: No such file or directory in /opt/lampp/htdocs/xampp/index.php on line 12

Warning: include() [function.include]: Failed opening 'lang/.php' for inclusion (include_path='.:/opt/lampp/lib/php') in /opt/lampp/htdocs/xampp/index.php on line 12

any ideas?

PostPosted: 11. July 2008 10:29
by Redlet
I would say the user who is running Apache has no priviledge to access files in /opt/lampp/lib/php. Check/change user and group in httpd.conf and check access rights on /opt/lampp/lib/php files.