567 0 0 0
Last Updated : 2024-05-02 12:10:31
If you want to add additional php.ini settings in your project onAWS, You can simply edit the php.ini found in /etc irectory. Or you can also create a new file names .user.ini file and add it to your /public directory or the root of your application.
1) Create .user.ini file in your /public directory in a laravel project.
2) Add the following lines as the settings
post_max_size = 60M
upload_max_filesize = 50M
memory_limit=1536M
max_execution_time= 300
3) If you want to change the file name, you can do this by changing it in the /etc/php.ini file.