Jump to content
php.lv forumi

Kaa ielaadeet extensions


Toms

Recommended Posts

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 by Toms
Link to comment
Share on other sites

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:

Link to comment
Share on other sites

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 by Toms
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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..

Link to comment
Share on other sites

×
×
  • Create New...