Hrun
13-07-2003, 20:52
До этого был собран РНР *модулем Апача:
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-tsrm-pth' '--enable-trans-sid' '--enable-track-vars' '--with-gd' '--with-zlib-dir=/usr/local/lib'
как потом оказалось у меня небыло библотеки jpeg
скачал её установил пересобрал GD все вроде хорошо, но как пересобрать РНР ?
Запускаю в папке исходников РНР
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-tsrm-pth --enable-trans-sid --enable-track-vars --with-gd --with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib --with-jpeg-dir=/usr/local/lib
Компилятор пишет:
checking for GD support... yes
checking for the location of libjpeg... /usr/local/lib
checking for the location of libpng... /usr/local/lib
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... (cached) yes
checking for floorf... (cached) yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for png_write_image in -lpng... (cached) yes
---------
вроде все есть все прекрастно устанавливаю до конца все без ошибок перезапускаю Апачь в РНРинфо нет поддержки jpeg и выводиться старая строчка кампиляции без джипега ,(
--------------
может нужно сначало удалить старый пыхпых а потом установить с новыми параметрами ? тогда как его удалить ?
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-tsrm-pth' '--enable-trans-sid' '--enable-track-vars' '--with-gd' '--with-zlib-dir=/usr/local/lib'
как потом оказалось у меня небыло библотеки jpeg
скачал её установил пересобрал GD все вроде хорошо, но как пересобрать РНР ?
Запускаю в папке исходников РНР
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-tsrm-pth --enable-trans-sid --enable-track-vars --with-gd --with-png-dir=/usr/local/lib --with-zlib-dir=/usr/local/lib --with-jpeg-dir=/usr/local/lib
Компилятор пишет:
checking for GD support... yes
checking for the location of libjpeg... /usr/local/lib
checking for the location of libpng... /usr/local/lib
checking for the location of libXpm... no
checking for FreeType 1.x support... no
checking for FreeType 2... no
checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... (cached) yes
checking for floorf... (cached) yes
checking for jpeg_read_header in -ljpeg... (cached) yes
checking for png_write_image in -lpng... (cached) yes
---------
вроде все есть все прекрастно устанавливаю до конца все без ошибок перезапускаю Апачь в РНРинфо нет поддержки jpeg и выводиться старая строчка кампиляции без джипега ,(
--------------
может нужно сначало удалить старый пыхпых а потом установить с новыми параметрами ? тогда как его удалить ?