Θέλω να ανοίξω μια σελίδα σε .php.
Έχω εγκατεστημένο apache2 και php5 (τα επανεγκατεστησα για να είμαι σίγουρος), και έχω δημιουργήσει ένα php file με ονομασία phpinfo.php κάτω από /var/www/
Και πέρνω το εξής σφάλμα:
You don't have permission to access /phpinfo.php on this server.
Όταν τρέχω
- Κώδικας: Επιλογή όλων
sudo service apache2 restart
Πέρνω το πιο κάτω:
έγραψε: * Restarting web server apache2 AH00112: Warning: DocumentRoot [/var/www/http] does not exist
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
Τι πάει λάθος;


