差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
最新のリビジョン両方とも次のリビジョン
ja:documentation:pandorafms:technical_annexes:18_php_8 [2024/04/06 07:35] – [PHP 8.2 へのアップデート] junichija:documentation:pandorafms:technical_annexes:18_php_8 [2024/04/06 07:39] – [CentOS 7 での PHP 8.0 へのアップデート] junichi
行 129: 行 129:
  
 ===== CentOS 7 ===== ===== CentOS 7 =====
 +
 +<WRAP center round info 90%>
 +
 +The end-of-life of the CentOS 7 operating system is June 2024.
 +
 +</WRAP>
 +
 +<WRAP center round info 90%>
 +
 +CentOS 7 の EoL は 2024年6月です。
 +
 +</WRAP>
 +
 +==== CentOS 7 での PHP 8.0 へのアップデート ====
  
   * Configure the repositories:   * Configure the repositories:
  
   * リポジトリを設定します。   * リポジトリを設定します。
 + 
 <code> <code>
  
行 146: 行 161:
  
   * PHP 8 とその依存ファイルをインストールします。   * PHP 8 とその依存ファイルをインストールします。
 +
 <code> <code>
 yum install -y \ yum install -y \
- php php-mcrypt php-cli php-gd php-curl php-mysql + php-mcrypt php-cli php-gd php-curl php-session 
- php-ldap php-zip php-fileinfo php-snmp php-mbstring + php-mysqlnd php-ldap php-zip php-zlib php-fileinfo 
- php-pecl-zip php-xmlrpc libxslt php-xml php-fpm + php-gettext php-snmp php-mbstring php-pecl-zip 
 + php-xmlrpc php-xml php-yaml mod_php
 </code> </code>
  
-<code> +  * Restart the web server: ''systemctl restart httpd'' 
-systemctl restart httpd+  * Verify the version installed with: ''php -v''  .
  
-</code>+  * ウェブサーバの再起動: ''systemctl restart httpd'' 
 +  * インストールバージョンの確認: ''php -v''
  
-  Verify the version installed with:+==== CentOS 7 での PHP 8.2 へのアップデート ==== 
 + 
 +  Configure the repositories: 
 + 
 +  * リポジトリを設定します。
  
-  * インストールされたバージョンを確認します。 
 <code> <code>
-php --version+ 
 +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 
 +yum -y install yum-utils 
 +yum-config-manager --disable 'remi-php*' 
 +yum-config-manager --enable remi-php82
  
 </code> </code>
  
-You will get an answer similar to the following:+  * Install PHP 8 and its dependencies:
  
-ような応答が得られます。 +  * PHP 8 とそ依存ファイルをインストールします。
-<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>
 +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 the web server: ''systemctl restart httpd''  .
 +  * Verify the version installed with: ''php -v''  .
 +
 +  * ウェブサーバの再起動: ''systemctl restart httpd''
 +  * インストールバージョンの確認: ''php -v''
  
 ===== RHEL 7 ===== ===== RHEL 7 =====
  • ja/documentation/pandorafms/technical_annexes/18_php_8.txt
  • 最終更新: 2024/04/06 07:40
  • by junichi