check where my php init file is on mac code example Example: location php ini mac os sudo cp /private/etc/php.ini.default /private/etc/php.ini