Change limitation upload file size |
Hello, I have a question.
Where should I put my php.ini on CodeIgniter4? I've tried on the folder: public Here is my code: Code: memory_limit = 32M But none of them work
There is a php.ini in the php folder that's where those are found.
The sizes should all match, outside of menory_limit. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Some PHP settings can be dynamically changed using ini_set("..., "...");
https://www.php.net/manual/en/ini.list.php Settings can be viewed using ini_get(...); Beware when updating the system that php.ini vales are reset to their defaults. From the command line to find where the PHP.ini is located and PHP version: php --ini php -v And phpinfo.php for more information.
Hello, I had to modify my PHP config (on my VPS) to unblock the limit. Because via htaccess, or php.ini, or even ini_set(), it was never working.
|
Welcome Guest, Not a member yet? Register Sign In |