BLACK FRIDAY DEALS

Knowledge Base

Allows you to search a variety of questions and answers

Search

Search results

Centos/RedHat

You can simply run

pecl install uploadprogress 

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

A good how to is here:

http://forums.cpanel.net/f6/installi...al-107265.html
http://booser.com/showthread.php?t=2215
 

Download latest software from

PECL :: Package :: uploadprogress

Install


cd /usr/local/src
wget http://pecl.php.net/get/uploadprogress-1.0.0.tgz
tar -zxvf uploadprogress-1.0.0.tgz
cd uploadprogress-1.0.0
phpize
./configure
make
make install

make install will show


# make install
Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/
#

There will be line with the above path in php.ini

Edit php.ini file and add

extension = "uploadprogress.so"

Below the line

extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613"

Now php -m will list uploadprogressbar as a module

Now restart web server

service httpd restart

An excellent step by step tutorial for creating upload progress bar using php and ajax can be found here:
http://www.phpriot.com/articles/php-ajax-file-uploads

See What Our Customers Say

Leave review
R

RAF Website D

Outstanding Customer Service Everytime I have emailed AYKsolutions I have gotten an outstanding resp...

Read full review
J

James

FL, United States

I have been using AYK for about 2 years now and they are always on top of any issues I have. They ha...

Read full review
K

Kiki

You can trust your business with AYKsolutions After a horrible experience with my prior host that le...

Read full review
J

Johnny

NC, United States

Hi Guys and Gals, I'll just say you all are top notch and go above and behind with support. I'v...

Read full review
ARIN Cisco Supermicro cPanel Intel Microsoft