Bonjour,
J'ai un soucis avec mon installation PHP 5.3.1.
J'obtiens l'erreur suivante
You must have either the GD or iMagick extension loaded to use this library
J'ai vérifié avec phpinfo(), PHP est compilé avec l'option --without-gd.
donc j'ai modifié php.ini,
ajouté la ligne extension=gd.so
redémarré apache
J'obtiens toujours l'erreur.
J'ai vérifié dans /usr/lib/php/modules/ et gd.so n'y figure pas.
J'ai fait un php -m |grep gd et ça me donne
1 2 3 4
| PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP Warning: Directive 'magic_quotes_runtime' is deprecated in PHP 5.3 and greater in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/gd.so' - /usr/lib/php/modules/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0 |
gd.so n'existe pas dans usr/lib/php/modules.
j'ai fait un
, j'obtiens le message suivant:
1 2 3 4 5 6 7 8 9 10 11 12 13
| Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
epel 100% |=========================| 3.7 kB 00:00
Reading repository metadata in from local files
c797f73a81052ef4df2e9cf95 100% |=========================| 1.8 MB 00:08
################################################## 5224/5224
Parsing package install arguments
No Match for argument: gd
Nothing to do |
Comment devrai-je procédé pour générer le fichier gd.so?
Merci d'avance.
Partager