Report this

What is the reason for this report?

Restarting Apache Server - Ubuntu

Posted on February 11, 2015

I tried to restart

It says "Could not reliably determine the server’s fully qualified domain name. Using 127.0.0.1. Set the ‘Servername’ directive globally to suppress this message ".

I haven’t pointed any domain to my IP yet. I am trying to restart apache is because of minor changes in php.ini file.

How can I restart apache2 successfully ? or How to make php.ini changes to work.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

how to restart server?

sudo service apache2 restart

when i run sudo service apache2 restart i got below erroe

Job for apache2.service failed because the control process exited with error code. See “systemctl status apache2.service” and “journalctl -xe” for details.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.