ja:documentation:pandorafms:technical_annexes:18_php_8

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_annexes:18_php_8 [2024/04/06 07:38] – [CentOS 7] junichija:documentation:pandorafms:technical_annexes:18_php_8 [2024/04/06 07:40] (現在) – [Rocky Linux 8/AlmaLinux 8/RHEL 8] junichi
行 176: 行 176:
   * インストールバージョンの確認: ''php -v''   * インストールバージョンの確認: ''php -v''
  
-===== RHEL ===== +==== CentOS での PHP 8.2 へのアップート ====
- +
-<WRAP center round tip 75%> +
- +
-To upgrade to PHP 8 in RHEL 7 [[https://pandorafms.com/en/technical-support/|contact Pandora FMS support department]]. +
- +
-</WRAP> +
- +
-<WRAP center round tip 75%> +
- +
-RHEL 7 で PHP 8 にアップグレードするには、[[https://pandorafms.com/ja/contact/|Pandora FMS サポート]] へ連絡ください。 +
- +
-</WRAP> +
- +
-===== Rocky Linux 8/AlmaLinux 8/RHEL 8 =====+
  
   * Configure the repositories:   * Configure the repositories:
  
   * リポジトリを設定します。   * リポジトリを設定します。
-<code bash> 
-dnf module reset php -y 
-dnf module enable php:remi-8.0 
  
-</code>+<code>
  
-  * Install PHP+yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 
- +yum -y install https://rpms.remirepo.net/enterprise/remi-release-7.rpm 
-  * PHP をインストールします。 +yum -y install yum-utils 
-<code bash> +yum-config-manager --disable 'remi-php*' 
-dnf install -y php php-fpm+yum-config-manager --enable remi-php82
  
 </code> </code>
  
-  * Install dependencies:+  * Install PHP 8 and its dependencies:
  
-  * 依存ファイルをインストールします。 +  * PHP 8 とその依存ファイルをインストールします。
-<code bash> +
-dnf install -y \ +
- php-cli php-fpm php-curl php-mysqlnd php-gd php-opcache php-zip \ +
- php-intl php-common php-bcmath php-imap php-imagick php-xmlrpc \ +
- php-json php-readline php-memcached php-redis php-mbstring php-apcu \ +
- php-xml php-dom php-redis php-memcached php-memcache+
  
 +<code>
 +yum install -y \
 + php-mcrypt php-cli php-gd php-curl php-session \
 + php-mysqlnd php-ldap php-zip php-zlib php-fileinfo \
 + php-gettext php-snmp php-mbstring php-pecl-zip \
 + php-xmlrpc php-xml php-yaml mod_php
 </code> </code>
  
-  * Restart php-fpm+  * Restart the web server: ''systemctl restart httpd'' 
 +  * Verify the version installed with: ''php -v''  .
  
-  * php-ftm を再起動します。+  * ウェブサーバの再起動: ''systemctl restart httpd'' 
 +  * インストールバージョンの確認: ''php -v''
  
-<code bash> +===== RHEL 7 =====
-systemctl restart php-fpm +
-</code>+
  
 +<WRAP center round tip 75%>
  
-  * Verify the version installed:+To upgrade to PHP 8 in RHEL 7 [[https://pandorafms.com/en/technical-support/|contact Pandora FMS support department]].
  
-  * インストールしたバージョンを確認します。 +</WRAP>
-<code bash> +
-php --version+
  
-</code>+<WRAP center round tip 75%>
  
-You will get an answer similar to the following:+RHEL 7 で PHP 8 にアップグレードするには、[[https://pandorafms.com/ja/contact/|Pandora FMS サポート]] へ連絡ください。
  
-次のような応答が得られます。+</WRAP>
  
-<code> 
-PHP 8.0.19 (cli) (built: May 10 2022 08:07:35) ( NTS gcc x86_64 ) 
-Copyright (c) The PHP Group 
-Zend Engine v4.0.19, Copyright (c) Zend Technologies 
  
-</code> 
  
 [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
  
  
  • ja/documentation/pandorafms/technical_annexes/18_php_8.1712389132.txt.gz
  • 最終更新: 2024/04/06 07:38
  • by junichi