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

How to disable user Custom PHP.INI files

Disable user unwanted custom php.ini file in your cpanel server. suPHP is a module that enhances...

How To Install eAccelerator on cpanel

eAccelerator is a free, open-source piece of software used to speed up PHP loading on websites....

Test MySQL database connection with php script

You can use the following php script which is used to test mysql database connection on your...

Important php security settings

PHP is a server side scripting language. You can embed PHP code in your web pages along with...

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

Powered by WHMCompleteSolution