Go Back   AYKsolutions Forum > Documentation > Knowledgebase > General Server Questions > Centos/RedHat
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Centos/RedHat Anything Centos/Redhat specific

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 09-24-2009
Artyom Artyom is offline
 
Join Date: Dec 2006
Posts: 503
Artyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond reputeArtyom has a reputation beyond repute
Send a message via ICQ to Artyom Send a message via AIM to Artyom Send a message via MSN to Artyom Send a message via Yahoo to Artyom
Default How to install pecl uploadprogress?

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

Quote:
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
__________________
www.AYKsolutions.com
From Shared to Dedicated
Professional. Painless. Polite.
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 04:31 PM.

 
myAYK | Dedicated Servers | Reseller | Shared | Forums
Terms of Service | Privacy Policy | © 2004 AYKsolutions, LLC. All Rights Reserved.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.