On Ubuntu Linux, if you get a warning from PHP or a PHP framework about a missing
php-gd library, try:
# sudo apt-get install php5-gdThis worked on Ubuntu Precise. It pulled in several dependencies and updated a few packages...
On Ubuntu Linux, if you get a warning from PHP or a PHP framework about a missing
php-gd library, try:
# sudo apt-get install php5-gdThis worked on Ubuntu Precise. It pulled in several dependencies and updated a few packages...
When working on Linux, you probably need to install programs and software packages from time to time.
On Ubuntu, to search for a package and see if it’s available:
# apt-cache search "package-name"To install a new package:
...On Ubuntu Linux, if MySQL is running as a service and you need to restart it:
# sudo service mysql restartThe command needed may vary on other Linux distributions.
If you edit or update an Apache configuration file, you need to restart it for the changes to take effect. Use this command on Ubuntu:
# sudo apache2ctl gracefulOn some distributions this may be slightly different, so if you get a comman...