how to get php.ini location mac code example Example: location php ini mac os Click to copysudo cp /private/etc/php.ini.default /private/etc/php.ini