admin/environment/php extension/gd: diferència entre les revisions
De MoodleDocs
Cap resum de modificació |
|||
Línia 11: | Línia 11: | ||
'''Ubuntu:''' | '''Ubuntu:''' | ||
Download and install gd | Download and install gd | ||
sudo apt-get install php5-gd | sudo apt-get install php5-gd | ||
You might need to restart Apache (not necessary) | You might need to restart Apache (not necessary) | ||
sudo /etc/init.d/apache2 restart | sudo /etc/init.d/apache2 restart |
Revisió del 21:57, 14 ago 2010
GD module for php5
This package provides a module for handling graphics directly from PHP scripts. It supports the PNG, JPEG, XPM formats as well as Freetype/ttf fonts.
Install GD module for php 5
Ubuntu: Download and install gd
sudo apt-get install php5-gd
You might need to restart Apache (not necessary)
sudo /etc/init.d/apache2 restart