http://drupal.org/node/add/project-issue/drupal

Dave Reid
dave@davereid.net


On Wed, Jan 20, 2010 at 2:29 PM, blokkie <blokkie@h0m3.be> wrote:
Hi,

_System info _
   database : mysql  Ver 14.14 Distrib 5.1.42, for pc-linux-gnu (i686) using readline 6.0
   php : PHP 5.3.1 with Suhosin-Patch (cli) (built: Nov 23 2009 21:35:08)
   webserver : nginx version: nginx/0.7.64


On the following drupal 7 url  : http://local.drupal/index.php?q=admin/reports/status

there is in blue :


       
Upload progress         Not enabled
Your server is not capable of displaying file upload progress. File upload progress requires an Apache server running PHP with mod_php.




This is not correct because  nginx (webserver) also supports this :
http://wiki.nginx.org/NginxHttpUploadProgressModule


source file to adjust:
modules/file/file.install:      $description = t('Your server is not capable of displaying file upload progress. File upload progress requires an Apache server running PHP with mod_php.');


Can this be fixed to a text like : Your server is currently not capable of displaying file upload progress. Consult your webserver documentation to enable this.





Additional info, my nginx virtual host file :

server {
     listen       80;
     server_name  local.drupal;
     root   /srv/http/drupal;
     access_log /srv/http/logs/drupal/access.log;
     error_log /srv/http/logs/drupal/error.log;

     location / {
       index index.php index.html index.htm;
     }
       location ~ \.php$ {
           root           /srv/http/drupal;
           fastcgi_pass   127.0.0.1:9000;
           fastcgi_index  index.php;
           fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
           include        fastcgi_params;
       }
}



Kind regards ,
Blokkie