How to install uploadprogress module

A simple way to implement upload status for an administration panel. Based on AJAX and my JavaScript LoadVars class, this method doesn’t need anything else to show uploading status on a simple form based html page.

To intall uploadprogress module, from the command line

pecl install uploadprogress

1) configure php.ini and add

2) restart apache for the changes to take effect.

/etc/init.d/httpd restart
If that does not work due to you having noexec on /tmp, as you should, you can then compile it from source.

cd /usr/local/src

tar -zxvf uploadprogress-
cd uploadprogress-
make install

Edit php.ini file and add

extension = “”

Below the line
extension_dir = “/usr/local/lib/php/extensions/no-debug-non-zts-20090626”

service httpd restart

install nginx with upload progress module

1. cd /usr/local/src
2. wget


3. tar xzvf

tar xzvf masterzen-nginx-upload-progress-module-v0.8.4-0-g82b35fc.tar.gz

4. cd nginx-1.5.3

./configure –prefix=/opt \
–sbin-path=/opt/sbin/nginx \
–conf-path=/opt/etc/nginx/http-nginx.conf \
–error-log-path=/var/log/http-nginx/error.log \
–http-log-path=/var/log/http-nginx/access.log \
–pid-path=/var/run/ \
–lock-path=/var/lock/http-nginx.lock \
–user=nobody \
–group=nobody \
–with-http_realip_module \
–with-rtsig_module \
–with-http_gzip_static_module \
–with-http_stub_status_module \
–with-http_ssl_module \
–without-mail_pop3_module \
–without-mail_imap_module \
–without-mail_smtp_module \

5. make

6. make install

Restart Nginx service

/etc/init.d/nginx <start/stop/restart>

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

cPHulk Brute Force Protection

WHM/cPanel has a service, protected from Brute Force attack, which is called “cPHulk Brute Force...

Enable SSH key authorized login without root password

You need to generate SSH Key ( the private key )on your cpanel server and then update remote...

How can I Redirect URLs in cPanel

Login your cpanel 1. Click the Redirects button on the front page under the “domains” 2. Enter...

Enable Custom php.ini for Fast CGI

With fast-cgi, custom php.ini needs to be in the cgi-bin folder. 1) Move php.ini to cgi-bin...

ConfigServer Firewall CSF installation

ConfigServer firewall is a popular linux firewall security suite. It is easy to install, flexible...

Powered by WHMCompleteSolution