New location for Apache PHP config

Fremantle

· PHP · Apache · servers · system administration ·

Under PHP 5, I used to put custom PHP configuration in a file such as /etc/php5/apache2/conf.d/99-foobar.ini and it'd be automatically included by the main php.ini (after most others, thanks to the 99).

Now in PHP 7, it seems to be more normal to add a custom module in /etc/php/7.2/mods-available/foobar.ini and enable it with phpenmod foobar. I guess there's no priority-setting with this system?