Frage

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

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top