In your terminal/console (only Linux, in windows you need Putty51)
ssh user@ip
php -i | grep "Loaded Configuration File"
It shows something like this Loaded Configuration
File => /etc/php.ini.
ALTERNATIVE METHOD
You can make the php file on the... (More)