je suis sous CentOS et je voudrais utiliser la libriairie gd pour php.
Dans le phpinfo, au niveau du bloc configure command parmi les lignes il y a :
Code : Tout sélectionner
'--with-gd=shared' '--enable-gd-native-ttf'Code : Tout sélectionner
'--with-gd=shared' '--enable-gd-native-ttf'Code : Tout sélectionner
yum install php-gdCode : Tout sélectionner
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
php-gd i386 4.3.9-3.18 update 97 k
Updating for dependencies:
mysql i386 4.1.20-1.RHEL4.1 base 2.9 M
mysql-server i386 4.1.20-1.RHEL4.1 base 9.8 M
php i386 4.3.9-3.18 update 1.3 M
php-mbstring i386 4.3.9-3.18 update 920 k
php-mysql i386 4.3.9-3.18 update 35 k
php-pear i386 4.3.9-3.18 update 267 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 6 Package(s)
Remove 0 Package(s)
Total download size: 15 M
Code : Tout sélectionner
'--with-gd=shared' '--enable-gd-native-ttf'Code : Tout sélectionner
; Directory in which the loadable extensions (modules) reside.
extension_dir = /usr/lib/php4