Solaris nginx php fcgi

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску

Установка nginx+php на Solaris 10.

Задача: установить nginx+php на Solaris 10.

php

PHP имеется в репозитории ibiblio.org.
По-тому с помошью простенького скрипта устанавливаю все, что связано с php

for PKG in `pkg-get -a | grep php5 | awk '{ print $1 }'`; do pkg-get -f -i $PKG; done

pkg-add сам разрешает все зависимости.

nginx

Сборка nginx никаких сложностей не доставила.

<nowiki>

./configure --with-libatomic --with-md5-asm --with-pcre --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_image_filter_module --with-http_geoip_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module

 253  ./configure  --with-md5-asm  --with-pcre  --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module  --with-http_image_filter_module --with-http_geoip_module  --with-http_sub_module --with-http_dav_module --with-http_flv_module  --with-http_gzip_static_module   --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_stub_status_module
<nowiki>

gmake gmake install