質問するログイン新規登録

質問編集履歴

2

設定ファイルが存在しない理由の追記

2019/11/29 01:10

投稿

ruby2
ruby2

スコア7

title CHANGED
File without changes
body CHANGED
@@ -2,18 +2,18 @@
2
2
  「php -v」コマンドで確認しても反映されていません。
3
3
  何か追加で必要な作業があるのでしょうか?
4
4
 
5
- インストールのために実行したコマンド。
5
+ インストールのために実行したコマンド。
6
6
  ```
7
7
  yum -y install --enablerepo=epel,remi,remi-php72 php72-php-opcache php72-php-pecl-apcu
8
8
  ```
9
9
 
10
- コマンドを実行した環境
10
+ コマンドを実行した環境
11
11
  ・OSのバージョン:CentOS Linux release 7.6.1810 (Core)
12
12
  ・PHPのバージョン:PHP 7.2.15
13
13
 
14
14
  ご回答の程よろしくお願い致します。
15
15
 
16
- コマンドの実行結果(2回目)
16
+ コマンドの実行結果(2回目)
17
17
  ```
18
18
  [root@localhost ~]# yum -y install --enablerepo=epel,remi,remi-php72 php72-php-opcache php72-php-pecl-apcu
19
19
  Loaded plugins: fastestmirror, langpacks
@@ -28,4 +28,13 @@
28
28
  Package php72-php-opcache-7.2.25-1.el7.remi.x86_64 already installed and latest version
29
29
  Package php72-php-pecl-apcu-5.1.18-1.el7.remi.x86_64 already installed and latest version
30
30
  Nothing to do
31
+ ```
32
+
33
+ ■設定ファイルが存在しない
34
+ ```
35
+ [root@localhost ~]# ls /etc/php.d
36
+ 20-bz2.ini 20-dom.ini 20-gd.ini 20-mbstring.ini 20-simplexml.ini 20-xml.ini 30-pdo_mysql.ini 40-zip.ini
37
+ 20-calendar.ini 20-exif.ini 20-gettext.ini 20-mysqlnd.ini 20-sockets.ini 20-xmlwriter.ini 30-pdo_sqlite.ini
38
+ 20-ctype.ini 20-fileinfo.ini 20-iconv.ini 20-pdo.ini 20-sqlite3.ini 20-xsl.ini 30-wddx.ini
39
+ 20-curl.ini 20-ftp.ini 20-json.ini 20-phar.ini 20-tokenizer.ini 30-mysqli.ini 30-xmlreader.ini
31
40
  ```

1

コマンドの実行結果を追記

2019/11/29 01:09

投稿

ruby2
ruby2

スコア7

title CHANGED
File without changes
body CHANGED
@@ -11,4 +11,21 @@
11
11
  ・OSのバージョン:CentOS Linux release 7.6.1810 (Core)
12
12
  ・PHPのバージョン:PHP 7.2.15
13
13
 
14
- ご回答の程よろしくお願い致します。
14
+ ご回答の程よろしくお願い致します。
15
+
16
+ コマンドの実行結果(2回目)
17
+ ```
18
+ [root@localhost ~]# yum -y install --enablerepo=epel,remi,remi-php72 php72-php-opcache php72-php-pecl-apcu
19
+ Loaded plugins: fastestmirror, langpacks
20
+ Loading mirror speeds from cached hostfile
21
+ * base: ftp.iij.ad.jp
22
+ * epel: ftp.iij.ad.jp
23
+ * extras: ftp.iij.ad.jp
24
+ * remi: ftp.riken.jp
25
+ * remi-php72: ftp.riken.jp
26
+ * remi-safe: ftp.riken.jp
27
+ * updates: ftp.iij.ad.jp
28
+ Package php72-php-opcache-7.2.25-1.el7.remi.x86_64 already installed and latest version
29
+ Package php72-php-pecl-apcu-5.1.18-1.el7.remi.x86_64 already installed and latest version
30
+ Nothing to do
31
+ ```