Apache Command

Apache Command

  • sudo service apache2 status
  • sudo service apache2 restart
  • tail /var/log/apache2/error.log
  • apache2ctl configtest
  • sudo update-alternatives –config php
  • sudo chown -R $USER:$USER /var/www/