mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
Update example_centos.rst for PHP8.2
Signed-off-by: HelloDarkness <111370255+hellodarkness@users.noreply.github.com>
This commit is contained in:
@@ -60,7 +60,7 @@ PHP
|
||||
|
||||
|
||||
|
||||
Setting up remirepo with PHP 7.4
|
||||
Setting up remirepo with PHP 8.2
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
More details can be found on ``https://blog.remirepo.net/pages/Config-en``
|
||||
@@ -79,24 +79,29 @@ Command to install the yum-utils package (for the yum-config-manager command):
|
||||
|
||||
You want a single version which means replacing base packages from the distribution. Packages have the same name than the base repository, ie php-\*. Some common dependencies are available in remi-safe repository, which is enabled by default.
|
||||
|
||||
You have to enable the module stream for 7.4:
|
||||
You have to enable the module stream for 8.2:
|
||||
|
||||
::
|
||||
|
||||
dnf module reset php
|
||||
dnf module install php:remi-7.4
|
||||
dnf module install php:remi-8.2
|
||||
dnf update
|
||||
|
||||
|
||||
|
||||
Installing PHP and the required modules
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Next install the PHP modules needed for this install. Remember, because this is a limited basic install, we only install the neccessary modules, not all of them. If you are making a more complete install, please refer to PHP module list in the source installation documentation, :doc:`../installation/source_installation`.::
|
||||
Next, install the PHP modules needed for this install. Remember, because this is a limited basic install, we only install the neccessary modules, not all of them. If you are making a more complete install, please refer to PHP module list in the source installation documentation, :doc:`../installation/source_installation`::
|
||||
|
||||
dnf install -y php php-gd php-mbstring php-intl php-pecl-apcu\
|
||||
php-mysqlnd php-opcache php-json php-zip
|
||||
|
||||
It may also be useful to install the php-cli module, to ease future troubleshooting:
|
||||
|
||||
::
|
||||
|
||||
dnf install php-cli
|
||||
|
||||
Installing optional modules redis/imagick
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user