Skip to content

Instantly share code, notes, and snippets.

@nkgokul
Created March 10, 2015 10:33
Show Gist options
  • Save nkgokul/d62a6a72f23d9e89c00a to your computer and use it in GitHub Desktop.
Save nkgokul/d62a6a72f23d9e89c00a to your computer and use it in GitHub Desktop.
Ubuntu php ini locations
/etc/php5/cli/php.ini is for the CLI PHP program, which you found by running php on the terminal.
/etc/php5/cgi/php.ini is for the php-cgi system which isn't specifically used in this setup.
/etc/php5/apache2/php.ini is for the PHP plugin used by Apache. This is the one you need to edit for changes to be applied for your Apache setup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment