-- a main configuration file, usually found under `/etc/php5/php.ini`; some distributions provide different configuration environments, e.g.
- - `/etc/php5/php.ini` - used when running console scripts
- - `/etc/php5/apache2/php.ini` - used when a client requests PHP resources from Apache
- - `/etc/php5/php-fpm.conf` - used when PHP requests are proxied to PHP-FPM
+- a main configuration file, usually found under `/etc/php/$php_version/php.ini`; some distributions provide different configuration environments, e.g.
+ - `/etc/php/$php_version/cli/php.ini` - used when running console scripts
+ - `/etc/php/$php_version/apache2/php.ini` - used when a client requests PHP resources from Apache
+ - `/etc/php/$php_version/php-fpm.conf` - used when PHP requests are proxied to PHP-FPM