WebFaction
Community site: login faq

I recently installed Drupal and the system status report has a message stating that I need to install the PECL upload progress module. How can I do that?

asked 04 Feb '15, 00:47

seanf
12.2k42136
accept rate: 37%


You can install the PECL upload progress module by building it from source, and then by telling your PHP app where to find it via php.ini directives.

The following commands show how to do so for a PHP 5.4 app named "my_app" - you can change the PHP version and app name to meet your needs:

mkdir ~/src ~/tmp
export TMPDIR=~/tmp
cd ~/src
wget http://pecl.php.net/get/uploadprogress-1.0.3.1.tgz
tar zxf uploadprogress-1.0.3.1.tgz
cd uploadprogress-1.0.3.1
phpize54
./configure --with-php-config=/usr/local/bin/php54-config
make
mkdir ~/php54-exts
cp modules/uploadprogress.so ~/php54-exts/
ln -s /usr/local/lib/php54/extensions/no-debug-non-zts-20100525/* ~/php54-exts/
echo "extension_dir = $HOME/php54-exts" >> ~/webapps/my_app/php.ini
echo "extension = uploadprogress.so" >> ~/webapps/my_app/php.ini

Note: this will not work if you are using FastCGI on our shared PHP installation, since PHP doesn't recognize custom extension directories under FastCGI.

permanent link

answered 04 Feb '15, 00:47

seanf
12.2k42136
accept rate: 37%

edited 04 Feb '15, 01:00

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×265
×10
×1

question asked: 04 Feb '15, 00:47

question was seen: 2,865 times

last updated: 04 Feb '15, 01:00

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM