PHP Notes
#
- By default, mod_rewrite is not enabled in apache2, Ubuntu. Use this command to enable it:
sudo a2enmod rewrite
Then reload apache configuration file:
sudo /etc/init.d/apache2 reload
- After running sudo apt-get remove XXX to remove a package. The following command is needed to remove all leftover files:
sudo apt-get auto remove