Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 5
    for one, it takes a while; for two, if you have more than one, how do you know which is the one actually in use? Commented Dec 23, 2014 at 10:07
  • 1
    True, php --ini works, but this is just another option :) There is usually a /etc/php5/cli/php.ini /etc/php5/apache2/php.ini /etc/php5/cgi/php.ini and usually which one you want is pretty obvious. (cli, apache, cgi) Commented Dec 25, 2014 at 10:31
  • 1
    This is not a good solution, because we are not intended to find all the php.ini file on disk. Commented Mar 10, 2018 at 23:14