na Krasnalu wszystko chodzi bez problemu php.ini ma odpowiednie wpisy (extension=php_gd2.dll), biblioteka php_gd2.dll jest w katalogu extension
a teraz pracuje na linuxie z php4.2.2
i wyglada na to, ze tez jest ok:
w phpinfo mam:
Kod
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with freetype
JPG Support enabled
PNG Support enabled
WBMP Support enabled
sprawdzajac poleceniem rpm -q jest:
zlib-1.1.4-8
libpng-1.2.2-16
gd-1.8.4-11
i inne pakiety
ale nie znalazlem chyba to co najwazniejsze tzn plikow php_gd.dll, ani php_gd2.dll
nie ma nawet takiego katalogu extension, a w php.ini ani jednego wpisu odnosnie gd, tylko sam dopisalem to co ma byc
ponizej jest to co bylo w php.ini + to co dopisalem:
Kod
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example:
;
; extension=msql.so
;
; 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.
;;;;
; Note: For Red Hat Linux, packaged extension modules are now loaded via
; the ini files in the directory /etc/php.d.
;;;;
extension=php_gd.dll
; Dynamic Extensions;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example:
;
; extension=msql.so
;
; 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.
;;;;
; Note: For Red Hat Linux, packaged extension modules are now loaded via
; the ini files in the directory /etc/php.d.
;;;;
extension=php_gd.dll
cos mi sie wydaje ze samo skopiowanie php_gd.dll nic mi nie da, co w takim razie powinienem zrobic?
z tym linuxem, jako serwer lacze sie lokalnie przez inny komp na ktorym jest winda98, jak uruchamiam prosty skrypt rysujacy linie nie wywala mizadnego bledu tylo na stopce przegladarki wyswietla, ze laduje obrazki i nic sie nie dzieje mozna czekac w nieskonczonosc
pozdrawiam
o widze, chyba ten post byl niepotrzebny, zrestartowalem winde i teraz dziala, ale i tak nie daje mi spokoju brak biblioteki php_gd.dll, a napewno przeszukalem caly system i nie ma tam takiej biblioteki no i php.ini-tam tez nic nie ma a dziala- czy na linie sa jakies roznice w porownaniu z krasnalem i foxservem?