Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291708

Add support for built-in PHP session upload progress

$
0
0

Problem/Motivation

Right now, upload progress only works if you're running in mod_php mode (with the PECL extesion uploadprogress). Sadly mod_php only works with Apache.

Steps to reproduce

Upload a file while not using mod_php (by disabling it or using something like Nginx)
Notice that there's no upload progress bar

Steps with MR changes:
1. Ensure you are running NGINX(I(@yash.rode) am using Laravel Valet)
2. You should be able to see Upload progress Enabled on the Status report page.
3. Go to structure/types/manage/article/form-display and click the gear icon in front of image
4. and change the Progress indicator to Bar with progress meter
5. When you try to upload an image to an article, you should see a progress bar.

I used PHP 8.1, NGINX using Laravel Valet.

Proposed resolution

PHP >=5.3 has a built-in upload progress http://php.net/manual/en/session.upload-progress.php that we should support.

Remaining tasks

N/A

User interface changes

N/A, only restoring existing functionality to all users

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A


Viewing all articles
Browse latest Browse all 291708

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>