Skip to content
This repository has been archived by the owner on Aug 20, 2019. It is now read-only.

Enable Upload Progress in Apache / nginx? #52

Closed
BrianGilbert opened this issue Jan 15, 2016 · 3 comments
Closed

Enable Upload Progress in Apache / nginx? #52

BrianGilbert opened this issue Jan 15, 2016 · 3 comments

Comments

@BrianGilbert
Copy link

From Drupal report page:

Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC.

http://pecl.php.net/package/uploadprogress
http://us2.php.net/apc

@thom8
Copy link
Member

thom8 commented Jan 17, 2016

This is possible with the following config

php_pecl_extensions:
  - uploadprogress

APC is not required with PHP 5.5 and above as it ships with zend opcache.

We need to test this more before adding it by default as I think PECL requires a network connection (even if it is installed already).

@Decipher
Copy link
Contributor

Not entirely true. The XHProf role required an internet connection because it wasn't checking if the package was already installed.

@thom8
Copy link
Member

thom8 commented Jan 24, 2016

I can confirm that the php-pecl role -- https://github.com/geerlingguy/ansible-role-php-pecl/blob/master/tasks/main.yml attempts to install packages before checking they have been installed so therefore it will fail without a network connection.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants