where php.ini of is located in laravel applications?

Solution 1:

You can use phpinfo() function to check where the php.ini file is located at:

<?php

phpinfo();

Or simply run php artisan tinker in the terminal where the laravel project is and then run phpinfo() in same terminal.

Then, look for Configuration File (php.ini) Path in the output of phpinfo().