Page 1 of 1
How to install PECL uploadprogress library
Posted: Sun Oct 05, 2014 9:50 pm
by Artu
subj
Re: How to install PECL uploadprogress library
Posted: Mon Oct 06, 2014 8:22 am
by alcatel
http://www.coolestguidesontheplanet.com ... -drupal-78 or you can try command "pecl install uploadprogress" on your server
Re: How to install PECL uploadprogress library
Posted: Mon Oct 06, 2014 8:23 am
by agelu
If Drupal reports that PECL Uploadprogress is not installed, the following will guide you through installing it on CentOS 6.
For CentOS 6.4+
Update September 11, 2013: v 6.4+ of CentOS requires a simpler install. If you have an earlier version of 6 skip this step and continue on. If you have 6.4 or greater you may skip the other steps and simply input this command in your terminal:
user@host $sudo yum install uploadprogress
For Earlier Versions of CentOS 6
First, let's install php-devel which is a requirement of uploadprogress, then we can install uploadprogress itself.
root@host $yum install php-devel
root@host $pecl install uploadprogress
If uploadprogress doesn't install due to Pear missing then install Pear and repeat the above step.
root@host $yum install php-pear
In some cases you may receive "error: no acceptable C compiler found". If so, install GCC.
root@host $yum install gcc
To complete uploadprogress installation, in the Dynamic Extensions section of php.ini add:
extension=uploadprogress.so
Note: php.ini may be located in /etc/php.ini or if in CPanel configuration, /usr/local/lib/php.ini or /usr/local/Zend/etc/php.ini if Zend is installed.
Restart Apache:
root@host $service httpd restart
Re: How to install PECL uploadprogress library
Posted: Mon Oct 06, 2014 12:40 pm
by Artu
Thank you, the second instruction has helped. First instruction I have seen.
I had a problem with installing php-devel.
There shall be mounted so:
Code: Select all
yum --enablerepo=remi install php-devel