drupal-with-nginx
drupal-with-nginx copied to clipboard
Would be nice to know what modules of NGINX & PHP are required...
Hi, Thanks for this. its great I heard from many people onine. But When I tried to install it it comes up with many errors. Which I guess because I am new in server setup. But It would be good to have some reference of which modules of NGINX & phP are required to go with this config. Thanks
Hi, what kind of errors did you get? I think there is a lot of comments in configuration and readme describing which modules are needed.
unknown directive "upload_progress" in /etc/nginx/nginx.conf:108
then if i uncomment upload_progress i get this message unknown directive "fair" in /etc/nginx/upstream_phpcgi_tcp.conf:16
if I uncomment fair then nginx loads ok I am using Centos 6.4, PHP 5.3.3, Nginx 1.4.4 (downloaded from souce and installed as it is) PHP modules I am using are, PHP-FPM, PHP-MYSQL, PHP-PECL-MEMCACHE, PHP-PECL-MEMCACHED, PHP-MBSTRING, PHP-MYCRYPT, PHP-XML, PHP-PECL-APC, MYSQL-SERVER, MYSQL, PHP-GD, PHP-PDO
I have very limited knowledge and started to learn the server setup on my own, so not sure which of the modules mentioned above are necessary to run drupal on nginx with your configuration!!! I would like to make my drupal7 installation as secure and smooth as possible...
But still I did not manage to run drupal yet with your config... reading the instruction...and again...
FileField Nginx Progress is Drupal module which provides support for an upload progress bar for a backend/server implementing the RFC 1867 upload using multipart/form-data. For Nginx Requirements take a look at this page https://drupal.org/project/filefield_nginx_progress
Fair section is for implementing enhanced round-robin load balancer. https://github.com/gnosek/nginx-upstream-fair http://wiki.nginx.org/HttpUpstreamFairModule
Use PHP-PECL-MEMCACHE or PHP-PECL-MEMCACHED. The first is lighter, and the second is more configurable. PHP-PECL-APC in some situations is cause of error. Have you done configured PHP-FPM pools?