To find out where your php.ini is located, run: php --ini code example Example: To find out where your php.ini is located run: php --ini