Last updated 4 months ago
To identify the php.ini file that has been used, we could write a file with a phpinfo() function and extract the info.
echo '<?php phpinfo(); ?>' > info.php
And we have the exact php.ini file used for the web server.