Il donne maintenant:Comment activer imagecreatefromgif/imagecreatefromjpeg/imagecreatefrompng en PHP?
PHP Fatal error: Call to undefined function imagecreatefromjpeg()
Mais la bibliothèque GD est activée.
Il donne maintenant:Comment activer imagecreatefromgif/imagecreatefromjpeg/imagecreatefrompng en PHP?
PHP Fatal error: Call to undefined function imagecreatefromjpeg()
Mais la bibliothèque GD est activée.
Lire http://www.php.net/manual/en/function.imagecreatefromjpeg.php#70832
Il est peut-être que votre bibliothèque JPEG n'est pas activé.
Installer php5-gd:
sur le système à base deb:
sudo apt-get install php5-gd
Si vous utilisez php-fpm puis redémarrez-le:
sudo /etc/init.d/php5-fpm restart
Trouvé ce solution here
Phpinfo() est-il d'accord que gd est activé? –
Oui, je peux appeler imagepng sans problème. – another
alors quel est le problème? – ZenOut