[arch-general] Installing PECL uploadprogress
Nowaker
enwukaer at gmail.com
Wed Oct 8 06:30:11 UTC 2014
> I'm in the process of setting up a Drupal 7.xx site and have com to the point where it recommends using PECL uploadprogress to provide feedback on the progress of file uploads but I'm unable to find any Arch specific install instructions, only those for .rpm or .deb files.
I'm not a PHP guy, but this is pretty much the same when developing
webapps in any language. Don't rely on anything provided by your OS. Not
only will you struggle when the package version is bumped by pacman, but
your users will have no idea how to install your application.
In Ruby world you specify all the dependencies in Gemfile and install
them with a single command `bundle install`. In PHP there's Composer. Go
have a look:
- https://getcomposer.org/
- https://packagist.org/
- https://packagist.org/search/?q=drupal
- https://github.com/phpmyadmin/phpmyadmin/blob/master/composer.json
"uploadprogress" isn't available in Packagist so I doubt people widely
use it. Last version from 2011. I'd rather use:
https://packagist.org/packages/blueimp/jquery-file-upload
If you really want to install "uploadprogress", you need to install
"php-pear" package, then install the module (pecl install
uploadprogress), then edit your php.ini.
--
Damian Nowak
www.virtkick.io
More information about the arch-general
mailing list