how to view php ini file code example Example: To find out where your php.ini is located run: php --ini