Hudsonvalley

From Wiki2
Revision as of 23:05, 21 November 2012 by Tim (talk | contribs) (Replaced content with "installed lamp stack using https://help.ubuntu.com/community/ApacheMySQLPHP Run, Stop, Test, And Restart Apache Use the following command to run Apache : $ sudo /usr/sbin...")

installed lamp stack using https://help.ubuntu.com/community/ApacheMySQLPHP


Run, Stop, Test, And Restart Apache Use the following command to run Apache :

$ sudo /usr/sbin/apache2ctl start

To stop it, use :

$ sudo /usr/sbin/apache2ctl stop

To test configuration changes, use :

$ sudo /usr/sbin/apache2ctl configtest

Finally, to restart it, run :

$ sudo /usr/sbin/apache2ctl restart