I'm using lamp on linux and I want to change the upload maxi size but I can't find php.ini, any lead to help me ? I tried find php.ini on the terminal but it didn't find anything
You should be able to find loaded php.ini
by running the following command in your terminal:
php -i | grep "Loaded Configuration File"
Or if you like, create a file called phpinfo.php
and place the following content:
<?php phpinfo();
then navigate to http://localhost/phpinfo.php
in your browser (assuming you are running this in your localhost) and find the "Loaded Configuration File" around the top section of the page.