Skip to content

Commit 197e996

Browse files
authored
Merge pull request #6933 from kenjis/fix-docs-supported-db
docs: add references to supported databases
2 parents e18cb59 + 728e86f commit 197e996

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

user_guide_src/source/database/configuration.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Database Configuration
66
:local:
77
:depth: 2
88

9+
.. note::
10+
See :ref:`requirements-supported-databases` for currently supported database drivers.
11+
912
***********
1013
Config File
1114
***********

user_guide_src/source/intro/requirements.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,24 @@
22
Server Requirements
33
###################
44

5+
.. contents::
6+
:local:
7+
:depth: 2
8+
9+
***************************
10+
PHP and Required Extensions
11+
***************************
12+
513
`PHP <https://www.php.net/>`_ version 7.4 or newer is required, with the following PHP extensions are enabled:
614

715
- `intl <https://www.php.net/manual/en/intl.requirements.php>`_
816
- `mbstring <https://www.php.net/manual/en/mbstring.requirements.php>`_
917
- `json <https://www.php.net/manual/en/json.requirements.php>`_
1018

19+
***********************
20+
Optional PHP Extensions
21+
***********************
22+
1123
The following PHP extensions should be enabled on your server:
1224

1325
- `mysqlnd <https://www.php.net/manual/en/mysqlnd.install.php>`_ (if you use MySQL)
@@ -28,6 +40,12 @@ The following PHP extensions are required when you use PHPUnit:
2840
- `libxml <https://www.php.net/manual/en/libxml.requirements.php>`_ (if you use :doc:`TestResponse </testing/response>` class)
2941
- `xdebug <https://xdebug.org/docs/install>`_ (if you use ``CIUnitTestCase::assertHeaderEmitted()``)
3042

43+
.. _requirements-supported-databases:
44+
45+
*******************
46+
Supported Databases
47+
*******************
48+
3149
A database is required for most web application programming.
3250
Currently supported databases are:
3351

user_guide_src/source/tutorial/news_section.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Create a Database to Work with
1414
******************************
1515

1616
The CodeIgniter installation assumes that you have set up an appropriate
17-
database, as outlined in the :doc:`requirements </intro/requirements>`.
17+
database, as outlined in the :ref:`requirements <requirements-supported-databases>`.
1818
In this tutorial, we provide SQL code for a MySQL database, and
1919
we also assume that you have a suitable client for issuing database
2020
commands (mysql, MySQL Workbench, or phpMyAdmin).
@@ -54,7 +54,7 @@ Connect to Your Database
5454
The local configuration file, ``.env``, that you created when you installed
5555
CodeIgniter, should have the database property settings uncommented and
5656
set appropriately for the database you want to use. Make sure you've configured
57-
your database properly as described :doc:`here <../database/configuration>`::
57+
your database properly as described in :doc:`../database/configuration`::
5858

5959
database.default.hostname = localhost
6060
database.default.database = ci4tutorial

0 commit comments

Comments
 (0)