Apache MySQL restart stop in Ubuntu and Redhat

Posted under » MySQL » Ubuntu » Apache on 11 October 2010

Apache

If ubuntu Service

service mysql start
service apache2 stop

If Redhat or CentOS

apachect1 stop
apachect1 restart //or
/sbin/service httpd restart 

Restart if ubuntu

restart mysql

mysql

The old command still works

/etc/init.d/mysql stop

web security linux ubuntu GIT svn Raspberry apache mysql php drupal cake symfony javascript Ajax css