3
I just installed Apache and PHP on my linux, and All my files . php are showing up this following log error:
[Sat Mar 07 12:10:48 2015] [error] [client ::1] PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 [Sat Mar 07 12:10:48 2015] [error] [client ::1] PHP Fatal error: Unknown: Failed Opening required '/var/www/index.php' (include_path='.:/usr/share/php:/usr/share/Pear') in Unknown on line 0
Inside this file is just that:
<?php
phpinfo();
?>
The distro I use is debian, I installed apache, php and mysql with the following command:
sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server
In fact had only made the sudo chmod -R 777, with the 755 worked, our thanks even :3
– Any Karolyne Galdino
@any_wolf Dispo. :)
– stderr