Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: admin/environment/php extension/gd.

admin/environment/php extension/gd: Difference between revisions

From MoodleDocs
No edit summary
m (added link to spanish translation of page)
 
(2 intermediate revisions by one other user not shown)
Line 11: Line 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
[[es:admin/environment/php extension/gd]]

Latest revision as of 00:50, 5 January 2015

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