Toms Posted May 8, 2005 Report Posted May 8, 2005 (edited) Taatad, savajadzeejaas funkciju: imagecreatetruecolor() Tam nepiecieshama GD biblioteeka. Bez lieka uztraukuma kjeros pie php.ini extension_dir = "C:\php\extensions\" .. extension=php_gd2.dll (atkomenteju) Saglabaaju, restarteeju Apache, bet paradaas: Fatal error: Call to undefined function: imagecreatetruecolor() in ... Kaut kaads aarpraats, 2 stundas jau nonjeemos visaadi, googlee nekaa jeedziiga nav. Probleema taada, ka viss ir kaartiibaa, php palaizhoties nekaadus errorus nemet, apacis arii, tas dll fails toch atrodas zem extensions. BET - nu izmantot to GD nevar!! Ir idejas..? p.s. get_loaded_extensions() paraada sho: Array ( [0] => standard [1] => bcmath [2] => calendar [3] => ctype [4] => com [5] => ftp [6] => mysql [7] => odbc [8] => overload [9] => pcre [10] => session [11] => tokenizer [12] => xml [13] => wddx [14] => zlib [15] => apache2handler ) taatad mans gd nav loaded, kaut gan ieksh php.ini noraadiiju, lai ielaadee. :angry: Edited May 8, 2005 by Toms
Toms Posted May 9, 2005 Author Report Posted May 9, 2005 ieksh php.ini rakstiits: ; Note that it should be the name of the module only; no directory information ; needs to go here. Specify the location of the extension with the ; extension_dir directive above. Taatad neder, protams, pameegjinaaju, jo nav vairs kur likties. PHP nobljaavaas - cannot load extension C:\php\extensions\extensions\php_gd2.dll Tjip sanaak, ka piemeta directory celju klaat.. Neder. Bet kaa tas var buut, ka visu noraadu pareizi, viss aiziet, neviena errora, bet tomeer nekaa??? Tjip taa - iedrabini automashiinai motoru, bet degviela neteereejas. bezsakars. Meegjinaaju paarinstaleet visu, gan PC, gan serveri.. nekas neliidz. :wacko:
Toms Posted May 9, 2005 Author Report Posted May 9, 2005 (edited) hhahhaha beidzot!!! BEIDZOT, peec ~4 stundu mekleeshanas eksperimenteeshanas u.c. shtelleem atradu elementaaru risinaajumu: php.ini jaaiekopee ieksh windozas mapes. (ieksh %systemroot%). Interesanti gan tas, ka ieprieksh man tasnebija jaadara - viss straadaaja taapat. hm. :D Tagad var mieriigi iet guleet. p.s. Viss gjeniaalais ir vienkaarshs vai kaa tur bija.. Edited May 9, 2005 by Toms
bubu Posted May 9, 2005 Report Posted May 9, 2005 Iepriekš vienkārši php ignorēja tavus php.ini uzstādījumus un ņēma vērā kautkādus defaultos.
Klez Posted May 9, 2005 Report Posted May 9, 2005 man php.ini ir itaa: extension=extensions\php_gd2.dll un straadaa bez probleemaam :)
Toms Posted May 9, 2005 Author Report Posted May 9, 2005 hehe, 4 stundas atmaksaajaas. :) Tev der ar extensions taapeec, ka extension_dir ir attieciigi pieskanjots. Nu tjip extension_dir = 'C:/php/" extension=extensions/php_gd2.dll Kopaa veidojas c:/php/extensions/php_gd2.dll
Klez Posted May 9, 2005 Report Posted May 9, 2005 njaaa.... bet lai nebuutu 4 stundas jaa4akareejas .... tam ir domaats <?=phpinfo()?> kas paraada info par php un ariii php.ini atrashanaas wietu ..... :)
Toms Posted May 9, 2005 Author Report Posted May 9, 2005 nuja, bet nez kapec uzraadiija to ieksh c:/php/php.ini Kaut kur kaut ko ne taa laikam esmu noraadiijis. tagad raada, ka ieksh windows mapes.
Venom Posted May 9, 2005 Report Posted May 9, 2005 a man ir uz d: diska iekš blakus apache palaižāmam, lai pie atgostošanas ar visu c: neaiziet pa pieskari
Toms Posted May 9, 2005 Author Report Posted May 9, 2005 es ietaisiiju ieksh ghost ar visu apaci. (kad dabuuju shito dziesmaa) Laikam jau nav labaakais variants.. Nu redzees, kad taisiishu jaunu imagi, tad arii nolikshu uz atsevishkjas partiicijas..
Klez Posted May 9, 2005 Report Posted May 9, 2005 venom tu tikai konfigu glabaa aarpus win partiicijas ?
Venom Posted May 10, 2005 Report Posted May 10, 2005 programmām man jau kā likts d:\, dokumentiem\profilam e:\
Recommended Posts