use service to restart apache and mysql