If you are seeing the folowing type of error:
Could not reliably determine the server’s fully qualified domain name
or
Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
while restarting your Apache Server through the following command:
sudo /etc/init.d/apache2 restart
then I have a better solution for you, which might let you resolve this error.
How To Resolve
Goto your apache folder, which would be:
/etc/apache2/
And open or create the following file
httpd.conf
After creating / opening the file, simply add the following line in the file:
ServerName localhost
Now save the file and restart your Apache Server by the following command:
sudo /etc/init.d/apache2 restart
And your error could have been resolved.
Hope this simple solution works for you in getting rid of the error:
Could not reliably determine the server’s fully qualified domain name
or
Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
For some of the other PHP errors, you can follow the PHP Category:
http://www.webtechquery.com/index.php/category/php/
Also find out How To Install LAMP On Ubuntu:
http://www.webtechquery.com/index.php/2010/01/install-php-mysql-and-apache-lamp-on-ubuntu-linux/