Php.ini

software development

#1

Why can’t I find my php.ini file?


#2

Your php.ini file, or ours?

The location of this file will depend on which PHP you’re calling. Note that you can’t edit php.ini unless you compile your own version of PHP.

To find it, you can type:
locate php.ini

You’ll see something like this:
/etc/php/cgi/php.ini
/etc/php/php.ini
/etc/php/php.ini.dpkg-dist
/etc/php/php.ini.generated