Fix Drupal Upload Progress

By | 2010/11/17

drupal

Drupal and other software can take advantage of a nice upload progress bar. Here is how to get that working on CentOS.

You may have seen this in Drupal. Let’s fix it!

pecl_drupal_edit

First, in CentOS 5 install these packages:

yum install php-pear gcc make php-devel

Next as root, issue:

pecl install uploadprogress

Once that completes, add this to /etc/php.ini

extension=uploadprogress.so

Finally save, and restart apache:

/etc/init.d/httpd restart

Done!