dAivEd Posted December 29, 2008 Report Posted December 29, 2008 Kas jaieslēdz iekš php.ini lai atkal sāktu strādāt ši funkcija: Fatal error: Call to undefined function imagecreatefromjpeg() in ... ???
dAivEd Posted December 29, 2008 Author Report Posted December 29, 2008 [gd] ; Tell the jpeg decode to libjpeg warnings and try to create ; a gd image. The warning will then be displayed as notices ; disabled by default ;gd.jpeg_ignore_warning = 0 nonemu ; lieku gan 1 gan 0 nepaliidz
bubu Posted December 29, 2008 Report Posted December 29, 2008 Tev jāatrod šāda rindiņa: ;extension=php_gd2.dll Un tai sākumā jānoņem semikols. Ja tādas rindiņas nav, tad ieraksti to php.ini failā.
bubu Posted December 29, 2008 Report Posted December 29, 2008 Tādā gadījumā vai nu tu nepārstartēji webserveri, vai nu arī tu skaties uz nepareizo php.ini failu. Ar phpinfo() funkciju var apskatīties, kur atrodas īstais php.ini fails.
dAivEd Posted December 29, 2008 Author Report Posted December 29, 2008 (edited) pierakstiju extension=php_gd2.so Loaded Configuration File /etc/php5/apache2/php.ini ( tur arī rediģeju ) root@pc:~# /etc/init.d/apache2 restart * Restarting web server apache2 [ OK ] Edited December 29, 2008 by dAivEd
dAivEd Posted December 29, 2008 Author Report Posted December 29, 2008 Krč atrisināju šo problēmu pats Ka vajag: apt-get install php5-gd uz ubuntu
Delfins Posted December 29, 2008 Report Posted December 29, 2008 tā arī būtu uzreiz pateicis, ka tev viss uzlikts no pakām... jo to risinājumu davella... kompilēt pašam no sourcēm, likt WAMP un t.t. krāmus...
Recommended Posts