diff options
| author | jvoisin | 2017-09-28 15:30:46 +0200 |
|---|---|---|
| committer | jvoisin | 2017-09-28 15:30:46 +0200 |
| commit | 94a6d0c65fd5bea909f08d493d80d8771ef49a60 (patch) | |
| tree | cb44bb6d344dfe6afb92ac2d873cb62ba94a0115 /doc/source | |
| parent | a92612da7ed1ceecc907232c36ff99e7dd18630c (diff) | |
Improve the documentation wrt. installation
Thanks to @real for finding this.
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/config.rst | 4 | ||||
| -rw-r--r-- | doc/source/installation.rst | 11 |
2 files changed, 11 insertions, 4 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst index 760ae1b..84fc193 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst | |||
| @@ -2,7 +2,9 @@ Configuration | |||
| 2 | ============= | 2 | ============= |
| 3 | 3 | ||
| 4 | Since PHP *ini-like* configuration model isn't flexible enough, | 4 | Since PHP *ini-like* configuration model isn't flexible enough, |
| 5 | Snuffleupagus is using its own format. | 5 | Snuffleupagus is using its own format, in the file specified by |
| 6 | the directive ``sp.configuration_file`` (in your ``php.ini`` file), | ||
| 7 | like ``sp.configuration_file=/etc/php/conf.d/snuffleupagus.ini``. | ||
| 6 | 8 | ||
| 7 | Options are chainable by using dots (``.``), and string parameters | 9 | Options are chainable by using dots (``.``), and string parameters |
| 8 | **must** be quoted, while booleans and integers aren't. | 10 | **must** be quoted, while booleans and integers aren't. |
diff --git a/doc/source/installation.rst b/doc/source/installation.rst index 779008d..383d0f0 100644 --- a/doc/source/installation.rst +++ b/doc/source/installation.rst | |||
| @@ -17,15 +17,20 @@ Quickstart | |||
| 17 | :: | 17 | :: |
| 18 | 18 | ||
| 19 | git clone https://github.com/nbs-system/snuffleupagus | 19 | git clone https://github.com/nbs-system/snuffleupagus |
| 20 | cd snuffleupagus | 20 | cd snuffleupagus/src |
| 21 | phpize | 21 | phpize |
| 22 | ./configure | 22 | ./configure --with-snuffleupagus |
| 23 | make | 23 | make |
| 24 | make install | 24 | make install |
| 25 | 25 | ||
| 26 | This should install ``snuffleupagus.so`` file in your extension directory. The final step is adding a load directive to ``php.ini``:: | 26 | This should install ``snuffleupagus.so`` file in your extension directory. |
| 27 | The final step is adding a load directive to ``php.ini``, | ||
| 28 | and to specify the location of its :doc:`configuration file <config>`: | ||
| 29 | |||
| 30 | :: | ||
| 27 | 31 | ||
| 28 | extension=snuffleupagus.so | 32 | extension=snuffleupagus.so |
| 33 | sp.configuration_file=/etc/php/conf.d/snuffleupagus.ini | ||
| 29 | 34 | ||
| 30 | Upgrading | 35 | Upgrading |
| 31 | --------- | 36 | --------- |
