Schplurtzeries
Le wiki de schplurtz
Dokuwiki

Différences

Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.

Lien vers cette vue

nslu2:nginx-switch [2012/10/05 00:09]
ztrulphcs [Compilation de nginx 1.2.3 sur nslu2]
nslu2:nginx-switch [2014/01/01 19:48] (Version actuelle)
ztrulphcs [start/stop php-fastcgi]
Ligne 1: Ligne 1:
 ====== Passage de lighttp à nginx ====== ====== Passage de lighttp à nginx ======
  
 +<WRAP box fgblack 4cm right :en>
 +[[mybuild#nginx|slugOSBE 5.3 binaries]]
 +</WRAP>
 Bon, ben voilà. Quand on **POST**e des fomulaires un peu gros (des fichiers par exemple) vers le slug via curl, et que le serveur est lighttpd < 1.5, alors on a ce genre de réponse de la part de lighttpd : Bon, ben voilà. Quand on **POST**e des fomulaires un peu gros (des fichiers par exemple) vers le slug via curl, et que le serveur est lighttpd < 1.5, alors on a ce genre de réponse de la part de lighttpd :
  
Ligne 946: Ligne 949:
 nslu2 $ prefix=/opt/schplurtz/nginx-1.2.3-dav-ext nslu2 $ prefix=/opt/schplurtz/nginx-1.2.3-dav-ext
 nslu2 $ time ./configure \ nslu2 $ time ./configure \
---prefix=/opt/schplurtz/nginx-1.2.3-dav-ext \ +--prefix=/opt/schplurtz/nginx-1.2.3-dav-ext \ 
---user=www-data \ +--user=www-data \ 
---group=www-data \ +--group=www-data \ 
---with-cc-opt="-I/opt/schplurtz/include -I/opt/include" \ +--with-cc-opt="-I/opt/schplurtz/include -I/opt/include" \ 
---with-ld-opt="-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib" \ +--with-ld-opt="-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib" \ 
---with-file-aio \ +--with-file-aio \ 
---with-http_ssl_module \ +--with-http_ssl_module \ 
---with-http_dav_module \ +--with-http_dav_module \ 
---without-http_ssi_module \ +--without-http_ssi_module \ 
---without-http_proxy_module \ +--without-http_proxy_module \ 
---without-http_uwsgi_module \ +--without-http_uwsgi_module \ 
---without-http_scgi_module \ +--without-http_scgi_module \ 
---without-http_limit_conn_module \ +--without-http_limit_conn_module \ 
---without-http_limit_req_module \ +--without-http_limit_req_module \ 
---add-module=/home/schplurtz/SOFT/NGINX/Additionnal-WEBDAV-COMMAND/nginx-dav-ext-module+--add-module=/home/schplurtz/SOFT/NGINX/Additionnal-WEBDAV-COMMAND/nginx-dav-ext-module
 nslu2 $ time make nslu2 $ time make
 nslu2 $ time make install nslu2 $ time make install
Ligne 976: Ligne 979:
 nslu2 $ prefix=/opt/schplurtz/nginx-1.2.3-dav-ext nslu2 $ prefix=/opt/schplurtz/nginx-1.2.3-dav-ext
 nslu2 $ time ./configure \ nslu2 $ time ./configure \
---prefix=/opt/schplurtz/nginx-1.2.3-dav-ext \ +--prefix=/opt/schplurtz/nginx-1.2.3-dav-ext \ 
---user=www-data \ +--user=www-data \ 
---group=www-data \ +--group=www-data \ 
---with-cc-opt="-I/opt/schplurtz/include -I/opt/include" \ +--with-cc-opt="-I/opt/schplurtz/include -I/opt/include" \ 
---with-ld-opt="-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib" \ +--with-ld-opt="-L/opt/schplurtz/lib -L/opt/lib -Wl,-rpath,/opt/schplurtz/lib,-rpath,/opt/lib" \ 
---with-file-aio \ +--with-file-aio \ 
---with-http_ssl_module \ +--with-http_ssl_module \ 
---with-http_dav_module \ +--with-http_dav_module \ 
---without-http_ssi_module \ +--without-http_ssi_module \ 
---without-http_proxy_module \ +--without-http_proxy_module \ 
---without-http_uwsgi_module \ +--without-http_uwsgi_module \ 
---without-http_scgi_module \ +--without-http_scgi_module \ 
---without-http_limit_conn_module \ +--without-http_limit_conn_module \ 
---without-http_limit_req_module \ +--without-http_limit_req_module \ 
---add-module=/home/schplurtz/SOFT/NGINX/Additionnal-WEBDAV-COMMAND/nginx-dav-ext-module+--add-module=/home/schplurtz/SOFT/NGINX/Additionnal-WEBDAV-COMMAND/nginx-dav-ext-module
 checking for OS checking for OS
  + Linux 2.6.27.8 armv5teb  + Linux 2.6.27.8 armv5teb
Ligne 1776: Ligne 1779:
 </code> </code>
  
-Le script est inspiré du script de [http://wiki.nginx.org/PHPFcgiExample|cette page]] du wiki de nginx.org.+Le script est inspiré du script de [[http://wiki.nginx.org/PHPFcgiExample|cette page]] du wiki de nginx.org.
  
 <file bash /etc/init.d/php-fcgi> <file bash /etc/init.d/php-fcgi>