🔔 🔔 🔔 Duyuru: 24. Yılımıza özel indirimler sizleri bekliyor ! Kampanya Kodu : TDATA2024 | Detaylı bilgi için tıklayınız.

How to install uploadprogress module

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

wget http://pecl.php.net/get/uploadprogress-
tar -zxvf uploadprogress-
cd uploadprogress-
make install

Edit php.ini file and add

extension = “uploadprogress.so”

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 http://nginx.org/download/nginx-1.5.3.zip

wget https://github.com/masterzen/nginx-upload-progress-module/tarball/v0.8.4

3. tar xzvf nginx-1.5.3.zip

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/http-nginx.pid \
–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>

Bu cevap yeterince yardımcı oldu mu?

Diğer Dökümanlar

  • cPanel security settings checklist

    You always use cpanel recommended Security Settings to avoid hacking and other suspicious activity. These  cPanel Server Hardening & Security tips will help prevent from hacking. cPanel...

  • sendmail Not running with correct effective GID

    Wed Sep 04 04:11:11 2014] [error] [client] sendmail: Not running with correct effective GID.  Is sendmail binary setgid mailtrap?, It may be the problem with your sendmail binary...

  • How to enable NAT behind the cpanel ?

    Most of webhosting providers currently used NAT service for their users. When you install cPanel & WHM, the installer will detect whether your server is on a NAT-configured network. If the...

  • Unable to allocate memory for pool

    Warning: Unknown: Unable to allocate memory for pool. in Unknown on line 0 APC or Alternative PHP Cache (APC) is a free and open opcode cache for PHP. APC allows for caching of opcode generated...

  • Install FFmpeg, Mplayer, Mencoder, MP4Box, Flvtool2

    You can use the following tutorial to install ffmpeg and other video modules in your centos server. FFmpeg is an audio/video conversion tool. It includes libavcodec, the leading open source codec...