From afa7116a93ec63a05e4a9699d75af2c9d77f1e61 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Sat, 6 Oct 2018 18:31:55 +0200 Subject: Improve a bit the documentation Thanks to @joe for bringing up this issue ♥ --- doc/source/installation.rst | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'doc/source') diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 7f8c8c8..7e999af 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst @@ -29,13 +29,21 @@ Quickstart make install This should install the ``snuffleupagus.so`` file in your extension directory. -The final step is adding a load directive to ``php.ini`` -and to specify the location of the :doc:`configuration file `: +The final step is adding a load directive and to specify the location of the +:doc:`configuration file `, either in a ``conf.d/20-snuffleupagus.ini`` +file, or directly in you ``php.ini`` if you prefer: :: extension=snuffleupagus.so - sp.configuration_file=/etc/php/conf.d/snuffleupagus.ini + + # This is only an example, + # you can place your rules wherever you want. + sp.configuration_file=/etc/php/conf.d/snuffleupagus.rules + + +Be careful, on some distribution, there are separate configurations for +cli/fmp/cgi/… be sure to edit the right one. Upgrading --------- -- cgit v1.3