Support the ongoing development of Laravel.io →
posted 5 years ago

hello. in my program i have a part for uploading images. i want that users can upload more than 20 image.in localhost i change xampp setting and it solved . but in cpanel i can not do this work. even i upload php.ini file in laravel folder in cpanel but it does not have any effect and just 20 images are uploaded not more.

Last updated 3 years ago.
0

Uploading php.ini in you application folder has no effect at all!

Have you tried a tutorial on how to update php.ini values in CPanel? Something like this for example: https://chemicloud.com/kb/article/how-to-edit-the-php-ini-file-cpanel/

Unfortunately you cannot use ini_set() to change max_file_uploads (see https://bugs.php.net/bug.php?id=50684)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

mahmood mahmood72 Joined 23 May 2020

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.