Jump to content
php.lv forumi

php gd.


Recommended Posts

Em, nu es emergoju lighttpd, izmantoju šadus use flagus

USE="bzip2 cgi fastcgi -gdbm php mysql -ldap -apache2 samba swat

 

Bēet, kad vajag kaut kur gd, tad met tipisko erroru - Call to undefined function imagecreatefromjpeg().

itkā daudz par to runāts, bet neatradu, kas būt speciāli jāeneiblo pie emergosanas, lai gd aizietu.

 

cjeers.

 

edit: aa un ja tas kaut ko mainītu tad sēžu zem gentoo, sorē, par nepareizo sadaļu

Edited by eregi
Link to comment
Share on other sites

extension=php_gd2.dll

 

un pie restarta uzreiz -

 

~ # PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5			 /lib/php/extensions/no-debug-non-zts-20060613/php_gd2.dll' - /usr/lib/php5/lib/p			 hp/extensions/no-debug-non-zts-20060613/php_gd2.dll: cannot open shared object f			 ile: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/lib/php			 /extensions/no-debug-non-zts-20060613/php_gd2.dll' - /usr/lib/php5/lib/php/exten			 sions/no-debug-non-zts-20060613/php_gd2.dll: cannot open shared object file: No			  such file or directory in Unknown on line 0

 

cik noprotu nevar atrast to dll?

Link to comment
Share on other sites

em.. es ceru, ka tu taču saproti, ka windows dll failuz zem GNU/Linux operētājsistēmas nav izmantot.

Ja esi vienkārši pārsaucis php_gd2.so failu par dll, tad gan viss ok izņemot to, ka nevar atrast failu. Vai nu nav uzbuildējies, vai arī nav uzinstalēts.

Link to comment
Share on other sites

×
×
  • Create New...