I have server created based on Perfect Server tutorial. I am confused about few php.ini files. Inside /etc/php/7.0/ are directories like apache2, cgi, cli, fpm and mods-available. Inside first four is php.ini file. What's the difference between them? For example to change size of database imported by Phpmyadmin from default 2MB to something more I had to change values in php.ini from apache2 directory. Changes in another php.ini files don't do anything. Executing command php --ini gives result: Code: [email protected]:~# php --ini Configuration File (php.ini) Path: /etc/php/7.0/cli Loaded Configuration File: /etc/php/7.0/cli/php.ini Scan for additional .ini files in: /etc/php/7.0/cli/conf.d Additional .ini files parsed: /etc/php/7.0/cli/conf.d/10-mysqlnd.ini, [...] so I thought /etc/php/7.0/cli/php.ini is default file and settings from him should work but it doesn't. I would like to use php-fpm for WordPress website set under ISP. If I would like to change some php settings for this website should I edit /etc/php/7.0/fpm/php.ini, yes? PS Is there any preferred php handler?