mirror of
https://github.com/cytopia/devilbox.git
synced 2025-02-20 17:33:05 +00:00
Documentation: config files
This commit is contained in:
parent
f5cc9bcee6
commit
d7a2bcb266
@ -18,8 +18,25 @@ General
|
||||
=======
|
||||
|
||||
You can set custom MySQL options via your own defined ``my.cnf`` files for each version separately.
|
||||
See the directory structure for MySQL configuration directories inside ``./cfg/`` directory:
|
||||
|
||||
This is achieved by placing a file into ``cfg/mysql-X.X/``, ``cfg/mariadb-X.X/`` or
|
||||
.. code-block:: bash
|
||||
|
||||
host> ls -l path/to/devilbox/cfg/ | grep -E 'mysql|mariadb|percona'
|
||||
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 mariadb-10.0/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 mariadb-10.1/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 mariadb-10.2/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 mariadb-10.3/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 mysql-5.5/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 mysql-5.6/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 mysql-5.7/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 mysql-8.0/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 percona-5.5/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 percona-5.6/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 percona-5.7/
|
||||
|
||||
Customization is achieved by placing a file into ``cfg/mysql-X.X/``, ``cfg/mariadb-X.X/`` or
|
||||
``cfg/percona-X-X`` (where ``X.X`` stands for your MySQL version).
|
||||
The file must end by ``.cnf`` in order to be sourced by the MySQL server.
|
||||
|
||||
|
@ -18,9 +18,21 @@ General
|
||||
=======
|
||||
|
||||
You can set custom php.ini configuration options for each PHP version separately.
|
||||
See the directory structure for PHP configuration directories inside ``./cfg/`` directory:
|
||||
|
||||
This is achieved by placing a file into ``cfg/php-fpm-X.X/`` (where ``X.X`` stands for your PHP version).
|
||||
The file must end by ``.ini`` in order to be sourced by the PHP-FPM server.
|
||||
.. code-block:: bash
|
||||
|
||||
host> ls -l path/to/devilbox/cfg/ | grep 'php'
|
||||
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 php-fpm-5.4/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 php-fpm-5.5/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Apr 3 22:04 php-fpm-5.6/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 php-fpm-7.0/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 php-fpm-7.1/
|
||||
drwxr-xr-x 2 cytopia cytopia 4096 Mar 5 21:53 php-fpm-7.2/
|
||||
|
||||
Customization is achieved by placing a file into ``cfg/php-fpm-X.X/`` (where ``X.X`` stands for
|
||||
your PHP version). The file must end by ``.ini`` in order to be sourced by the PHP-FPM server.
|
||||
|
||||
Each of the PHP ini configuration directories already contain an example file:
|
||||
``devilbox-custom.ini-example``, that can simply be renamed to ``devilbox-custom.ini``.
|
||||
|
Loading…
x
Reference in New Issue
Block a user