dAivEd Posted December 29, 2008 Report Share 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 ... ??? Link to comment Share on other sites More sharing options...
Delfins Posted December 29, 2008 Report Share Posted December 29, 2008 gd Link to comment Share on other sites More sharing options...
dAivEd Posted December 29, 2008 Author Report Share Posted December 29, 2008 gg Link to comment Share on other sites More sharing options...
dAivEd Posted December 29, 2008 Author Report Share 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 Link to comment Share on other sites More sharing options...
bubu Posted December 29, 2008 Report Share 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ā. Link to comment Share on other sites More sharing options...
dAivEd Posted December 29, 2008 Author Report Share Posted December 29, 2008 Taspats. Link to comment Share on other sites More sharing options...
bubu Posted December 29, 2008 Report Share 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. Link to comment Share on other sites More sharing options...
dAivEd Posted December 29, 2008 Author Report Share 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 Link to comment Share on other sites More sharing options...
dAivEd Posted December 29, 2008 Author Report Share Posted December 29, 2008 Krč atrisināju šo problēmu pats Ka vajag: apt-get install php5-gd uz ubuntu Link to comment Share on other sites More sharing options...
Delfins Posted December 29, 2008 Report Share 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... Link to comment Share on other sites More sharing options...
Recommended Posts