Solaris nginx php fcgi: различия между версиями

Материал из noname.com.ua
Перейти к навигацииПерейти к поиску
Строка 14: Строка 14:
 
==nginx==
 
==nginx==
 
Сборка nginx никаких сложностей не доставила.
 
Сборка nginx никаких сложностей не доставила.
 
{{Root|<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
{{Root|<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
 
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>}}
+
</nowiki>}}
 
gmake
 
gmake
 
gmake install
 
gmake install

Версия 11:43, 24 июня 2010

Установка 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 сам разрешает все зависимости.

spawn-fcgi -f /opt/csw/php5/bin/php-cgi -a 127.0.0.1 -p 10080 -C 30 -P /var/run/spawn-fcgi.pid -u nginx -g nginx

nginx

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

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

gmake gmake install