{"id":34758,"date":"2023-09-18T08:31:27","date_gmt":"2023-05-10T02:26:09","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/"},"modified":"2024-05-04T00:17:53","modified_gmt":"2024-05-03T16:17:53","slug":"centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/","title":{"rendered":"CentOS7\u3067php7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71"},"content":{"rendered":"<h1>\u9996\u5148<\/h1>\n<p>\u79c1\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u5168\u304f\u5206\u304b\u3089\u306a\u3044\u4eba\u306a\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u307e\u307e\u3058\u3083\u3060\u3081\u3060\u3068\u601d\u3044php\u3092\u52c9\u5f37\u3057\u3088\u3046\u3068\u601d\u3044\u74b0\u5883\u69cb\u7bc9\u306e\u969b\u306bCentOS7\u306bphp7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71\u3067\u3059\u3002<br \/>\n\u3053\u3093\u306a\u3053\u3068\u3067\u8e93\u304f\u65b9\u306f\u3042\u307e\u308a\u3044\u306a\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u3082\u3057\u540c\u3058\u3088\u3046\u306a\u65b9\u304c\u3044\u305f\u5834\u5408\u306b\u53c2\u8003\u306b\u306a\u308c\u3070\u3068\u3044\u3046\u306e\u3068\u3001\u81ea\u5206\u3067\u3082\u5c11\u3057\u306f\u30a2\u30a6\u30c8\u30d7\u30c3\u30c8\u3057\u3066\u307f\u3088\u3046\u3068\u3044\u3046\u4e8b\u304b\u3089\u8a18\u4e8b\u3092\u304b\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<h2>\u4e3a\u4ec0\u4e48\u4f60\u8bd5\u56fe\u5b89\u88c5PHP 7.4\uff1f<\/h2>\n<p>\u53c2\u8003\u306b\u3057\u305f\u66f8\u7c4d\u304cphp7\u3092\u4f7f\u7528\u3057\u305f\u3082\u306e\u3067\u3042\u308a\u3001CentOS7\u3067\u6a19\u6e96\u3067\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308bphp\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c5.4\u3060\u3063\u305f\u305f\u3081\u3001Remi\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u305f\u304c\u3001\u305b\u3063\u304b\u304f\u306a\u306e\u3067\u6700\u65b0\u306ephp7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u307f\u3088\u3046\u3068\u601d\u3063\u305f\u3002<\/p>\n<h1>\u670d\u52a1\u5668\u73af\u5883<\/h1>\n<pre class=\"post-pre\"><code># cat \/etc\/centos-release\r\nCentOS Linux release 7.7.1908 (Core)\r\n<\/code><\/pre>\n<h1>\u73af\u5883\u6784\u5efa<\/h1>\n<h2>\u5b89\u88c5 epel-release<\/h2>\n<p>Remi\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u305f\u3081\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/p>\n<pre class=\"post-pre\"><code># yum install epel-release\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: ftp.iij.ad.jp\r\n * extras: ftp.iij.ad.jp\r\n * updates: ftp.iij.ad.jp\r\nResolving Dependencies\r\n--&gt; Running transaction check\r\n---&gt; Package epel-release.noarch 0:7-11 will be installed\r\n--&gt; Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n========================================================================================================================================================================\r\n Package                                      Arch                                   Version                               Repository                              Size\r\n========================================================================================================================================================================\r\nInstalling:\r\n epel-release                                 noarch                                 7-11                                  extras                                  15 k\r\n\r\nTransaction Summary\r\n========================================================================================================================================================================\r\nInstall  1 Package\r\n\r\nTotal download size: 15 k\r\nInstalled size: 24 k\r\nIs this ok [y\/d\/N]: y\r\nDownloading packages:\r\nepel-release-7-11.noarch.rpm                                                                                                                     |  15 kB  00:00:00\r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\n  Installing : epel-release-7-11.noarch                                                                                                                             1\/1\r\n  Verifying  : epel-release-7-11.noarch                                                                                                                             1\/1\r\n\r\nInstalled:\r\n  epel-release.noarch 0:7-11\r\n\r\nComplete!\r\n<\/code><\/pre>\n<h2>\u5b89\u88c5Remi\u4ed3\u5e93<\/h2>\n<pre class=\"post-pre\"><code># rpm -ivh http:\/\/ftp.riken.jp\/Linux\/remi\/enterprise\/remi-release-7.rpm\r\nRetrieving http:\/\/ftp.riken.jp\/Linux\/remi\/enterprise\/remi-release-7.rpm\r\nwarning: \/var\/tmp\/rpm-tmp.jMjNxd: Header V4 DSA\/SHA1 Signature, key ID 00f97f56: NOKEY\r\nPreparing...                          ################################# [100%]\r\nUpdating \/ installing...\r\n   1:remi-release-7.7-1.el7.remi      ################################# [100%]\r\n<\/code><\/pre>\n<h2>php\u78ba\u8a8d<\/h2>\n<pre class=\"post-pre\"><code># yum list php*\r\n&lt;\u7701\u7565&gt;\r\nphp73-zephir.noarch                                                                     0.10.16-1.el7.remi                                                    remi-safe\r\nphp74-build.x86_64                                                                      1.0-1.el7.remi                                                        remi-safe\r\nphp74-php.x86_64                                                                        7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-ast.x86_64                                                                    1.0.5-1.el7.remi                                                      remi-safe\r\nphp74-php-bcmath.x86_64                                                                 7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-brotli.x86_64                                                                 0.7.0-4.el7.remi                                                      remi-safe\r\nphp74-php-componere.x86_64                                                              3.1.1-1.el7.remi                                                      remi-safe\r\nphp74-php-dba.x86_64                                                                    7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-dbg.x86_64                                                                    7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-devel.x86_64                                                                  7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-embedded.x86_64                                                               7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-enchant.x86_64                                                                7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-ffi.x86_64                                                                    7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-fpm.x86_64                                                                    7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-gd.x86_64                                                                     7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-gmp.x86_64                                                                    7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-horde-horde-lz4.x86_64                                                        1.0.10-7.el7.remi                                                     remi-safe\r\nphp74-php-imap.x86_64                                                                   7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-intl.x86_64                                                                   7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-ldap.x86_64                                                                   7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-libvirt.x86_64                                                                0.5.4-5.el7.remi                                                      remi-safe\r\nphp74-php-libvirt-doc.noarch                                                            0.5.4-5.el7.remi                                                      remi-safe\r\nphp74-php-litespeed.x86_64                                                              7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-lz4.x86_64                                                                    0.3.6-2.el7.remi                                                      remi-safe\r\nphp74-php-maxminddb.x86_64                                                              1.6.0-1.el7.remi                                                      remi-safe\r\nphp74-php-mbstring.x86_64                                                               7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-mysqlnd.x86_64                                                                7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-oci8.x86_64                                                                   7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-odbc.x86_64                                                                   7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-opcache.x86_64                                                                7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pdo.x86_64                                                                    7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pdo-dblib.x86_64                                                              7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pdo-firebird.x86_64                                                           7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pear.noarch                                                                   1:1.10.10-4.el7.remi                                                  remi-safe\r\nphp74-php-pecl-ahocorasick.x86_64                                                       0.0.7-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-amqp.x86_64                                                              1.9.4-9.el7.remi                                                      remi-safe\r\nphp74-php-pecl-apcu.x86_64                                                              5.1.18-1.el7.remi                                                     remi-safe\r\nphp74-php-pecl-apcu-bc.x86_64                                                           1.0.5-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-apcu-devel.x86_64                                                        5.1.18-1.el7.remi                                                     remi-safe\r\nphp74-php-pecl-apfd.x86_64                                                              1.0.1-13.el7.remi                                                     remi-safe\r\nphp74-php-pecl-base58.x86_64                                                            0.1.4-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-bitset.x86_64                                                            3.0.1-4.el7.remi                                                      remi-safe\r\nphp74-php-pecl-cassandra.x86_64                                                         1.3.2-8.el7.remi                                                      remi-safe\r\nphp74-php-pecl-cmark.x86_64                                                             1.2.0-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-couchbase2.x86_64                                                        2.6.1-2.el7.remi                                                      remi-safe\r\nphp74-php-pecl-crypto.x86_64                                                            0.3.1-9.el7.remi                                                      remi-safe\r\nphp74-php-pecl-datadog-trace.x86_64                                                     0.37.0-1.el7.remi                                                     remi-safe\r\nphp74-php-pecl-dbase.x86_64                                                             7.0.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-decimal.x86_64                                                           1.3.0-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-dio.x86_64                                                               0.1.0-8.el7.remi                                                      remi-safe\r\nphp74-php-pecl-druid.x86_64                                                             1.0.0-5.el7.remi                                                      remi-safe\r\nphp74-php-pecl-ds.x86_64                                                                1.2.9-2.el7.remi                                                      remi-safe\r\nphp74-php-pecl-eio.x86_64                                                               2.0.4-5.el7.remi                                                      remi-safe\r\nphp74-php-pecl-env.x86_64                                                               0.2.1-8.el7.remi                                                      remi-safe\r\nphp74-php-pecl-ev.x86_64                                                                1.0.8-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-event.x86_64                                                             2.5.3-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-fann.x86_64                                                              1.1.1-14.el7.remi                                                     remi-safe\r\nphp74-php-pecl-gearman.x86_64                                                           2.0.6-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-gender.x86_64                                                            1.1.0-14.el7.remi                                                     remi-safe\r\nphp74-php-pecl-geoip.x86_64                                                             1.1.1-11.el7.remi                                                     remi-safe\r\nphp74-php-pecl-geospatial.x86_64                                                        0.2.1-2.el7.remi                                                      remi-safe\r\nphp74-php-pecl-gmagick.x86_64                                                           2.0.5~RC1-6.el7.remi                                                  remi-safe\r\nphp74-php-pecl-gnupg.x86_64                                                             1.4.0-9.el7.remi                                                      remi-safe\r\nphp74-php-pecl-grpc.x86_64                                                              1.26.0-1.el7.remi                                                     remi-safe\r\nphp74-php-pecl-handlebars.x86_64                                                        0.8.3-2.el7.remi                                                      remi-safe\r\nphp74-php-pecl-hdr-histogram.x86_64                                                     0.3.0-10.el7.remi                                                     remi-safe\r\nphp74-php-pecl-hprose.x86_64                                                            1.6.8-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-hrtime.x86_64                                                            0.6.0-7.el7.remi                                                      remi-safe\r\nphp74-php-pecl-http.x86_64                                                              3.2.3-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-http-devel.x86_64                                                        3.2.3-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-http-message.x86_64                                                      0.2.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-http-message-devel.x86_64                                                0.2.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-igbinary.x86_64                                                          3.1.0-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-igbinary-devel.x86_64                                                    3.1.0-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-imagick.x86_64                                                           3.4.4-6.el7.remi                                                      remi-safe\r\nphp74-php-pecl-imagick-devel.x86_64                                                     3.4.4-6.el7.remi                                                      remi-safe\r\nphp74-php-pecl-inotify.x86_64                                                           2.0.0-10.el7.remi                                                     remi-safe\r\nphp74-php-pecl-interbase.x86_64                                                         1.0.0~DEV.20190523-4.el7.remi                                         remi-safe\r\nphp74-php-pecl-ip2location.x86_64                                                       8.0.1-5.el7.remi                                                      remi-safe\r\nphp74-php-pecl-json-post.x86_64                                                         1.0.1-12.el7.remi                                                     remi-safe\r\nphp74-php-pecl-krb5.x86_64                                                              1.1.2-8.el7.remi                                                      remi-safe\r\nphp74-php-pecl-krb5-devel.x86_64                                                        1.1.2-8.el7.remi                                                      remi-safe\r\nphp74-php-pecl-leveldb.x86_64                                                           0.2.1-6.el7.remi                                                      remi-safe\r\nphp74-php-pecl-lua.x86_64                                                               2.0.6-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-luasandbox.x86_64                                                        3.0.3-4.el7.remi                                                      remi-safe\r\nphp74-php-pecl-lzf.x86_64                                                               1.6.7-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-mailparse.x86_64                                                         3.0.4-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-mcrypt.x86_64                                                            1.0.3-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-memcache.x86_64                                                          4.0.5.2-1.el7.remi                                                    remi-safe\r\nphp74-php-pecl-memcached.x86_64                                                         3.1.5-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-memprof.x86_64                                                           2.0.0-6.el7.remi                                                      remi-safe\r\nphp74-php-pecl-mogilefs.x86_64                                                          0.9.3.1-10.el7.remi                                                   remi-safe\r\nphp74-php-pecl-mongodb.x86_64                                                           1.6.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-mosquitto.x86_64                                                         0.4.0-7.el7.remi                                                      remi-safe\r\nphp74-php-pecl-msgpack.x86_64                                                           2.1.0~beta1-1.el7.remi                                                remi-safe\r\nphp74-php-pecl-msgpack-devel.x86_64                                                     2.1.0~beta1-1.el7.remi                                                remi-safe\r\nphp74-php-pecl-mustache.x86_64                                                          0.9.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-mysql.x86_64                                                             1.0.0-0.23.20190415.d7643af.el7.remi                                  remi-safe\r\nphp74-php-pecl-mysql-xdevapi.x86_64                                                     8.0.19-1.el7.remi                                                     remi-safe\r\nphp74-php-pecl-mysqlnd-azure.x86_64                                                     1.0.2-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-nsq.x86_64                                                               3.5.0-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-oauth.x86_64                                                             2.0.4-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-opencensus.x86_64                                                        0.2.2-5.el7.remi                                                      remi-safe\r\nphp74-php-pecl-parle.x86_64                                                             0.8.1-8.el7.remi                                                      remi-safe\r\nphp74-php-pecl-pcov.x86_64                                                              1.0.6-2.el7.remi                                                      remi-safe\r\nphp74-php-pecl-pdflib.x86_64                                                            4.1.3-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-pq.x86_64                                                                2.1.5-4.el7.remi                                                      remi-safe\r\nphp74-php-pecl-propro.x86_64                                                            2.1.0-5.el7.remi                                                      remi-safe\r\nphp74-php-pecl-propro-devel.x86_64                                                      2.1.0-5.el7.remi                                                      remi-safe\r\nphp74-php-pecl-protobuf.x86_64                                                          3.11.2-1.el7.remi                                                     remi-safe\r\nphp74-php-pecl-psr.x86_64                                                               0.7.0-2.el7.remi                                                      remi-safe\r\nphp74-php-pecl-psr-devel.x86_64                                                         0.7.0-2.el7.remi                                                      remi-safe\r\nphp74-php-pecl-radius.x86_64                                                            1.4.0-0.7.b1.el7.remi                                                 remi-safe\r\nphp74-php-pecl-raphf.x86_64                                                             2.0.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-raphf-devel.x86_64                                                       2.0.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-rar.x86_64                                                               4.0.0-6.el7.remi                                                      remi-safe\r\nphp74-php-pecl-rdkafka.x86_64                                                           3.1.2-2.el7.remi                                                      remi-safe\r\nphp74-php-pecl-rdkafka4.x86_64                                                          4.0.2-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-redis4.x86_64                                                            4.3.0-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-redis5.x86_64                                                            5.1.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-rpminfo.x86_64                                                           0.2.1-5.el7.remi                                                      remi-safe\r\nphp74-php-pecl-rrd.x86_64                                                               2.0.1-7.el7.remi                                                      remi-safe\r\nphp74-php-pecl-runkit7.x86_64                                                           3.1.0~a1-1.el7.remi                                                   remi-safe\r\nphp74-php-pecl-scoutapm.x86_64                                                          1.0.2-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-scrypt.x86_64                                                            1.4.2-8.el7.remi                                                      remi-safe\r\nphp74-php-pecl-sdl.x86_64                                                               2.3.0-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-seasclick.x86_64                                                         0.1.0-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-seaslog.x86_64                                                           2.1.0-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-selinux.x86_64                                                           0.4.2-2.el7.remi                                                      remi-safe\r\nphp74-php-pecl-skywalking.x86_64                                                        3.2.4-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-solr2.x86_64                                                             2.5.0-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-ssdeep.x86_64                                                            1.1.0-5.el7.remi                                                      remi-safe\r\nphp74-php-pecl-ssh2.x86_64                                                              1.2-1.el7.remi                                                        remi-safe\r\nphp74-php-pecl-stats.x86_64                                                             2.0.3-8.el7.remi                                                      remi-safe\r\nphp74-php-pecl-stomp.x86_64                                                             2.0.2-5.el7.remi                                                      remi-safe\r\nphp74-php-pecl-svm.x86_64                                                               0.2.3-2.el7.remi                                                      remi-safe\r\nphp74-php-pecl-svn.x86_64                                                               2.0.3-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-swoole4.x86_64                                                           4.4.14-1.el7.remi                                                     remi-safe\r\nphp74-php-pecl-sync.x86_64                                                              1.1.1-6.el7.remi                                                      remi-safe\r\nphp74-php-pecl-taint.x86_64                                                             2.0.6-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-tcpwrap.x86_64                                                           1.2.0-5.el7.remi                                                      remi-safe\r\nphp74-php-pecl-termbox.x86_64                                                           0.1.3-8.el7.remi                                                      remi-safe\r\nphp74-php-pecl-timecop.x86_64                                                           1.2.10-9.el7.remi                                                     remi-safe\r\nphp74-php-pecl-trader.x86_64                                                            0.5.0-5.el7.remi                                                      remi-safe\r\nphp74-php-pecl-translit.x86_64                                                          0.6.3-4.el7.remi                                                      remi-safe\r\nphp74-php-pecl-uopz.x86_64                                                              6.1.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-uploadprogress.x86_64                                                    1.0.3.1-20.el7.remi                                                   remi-safe\r\nphp74-php-pecl-uuid.x86_64                                                              1.1.0-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-uv.x86_64                                                                0.2.4-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-varnish.x86_64                                                           1.2.4-4.el7.remi                                                      remi-safe\r\nphp74-php-pecl-vips.x86_64                                                              1.0.10-2.el7.remi                                                     remi-safe\r\nphp74-php-pecl-vld.x86_64                                                               0.17.0-1.el7.remi                                                     remi-safe\r\nphp74-php-pecl-wddx.x86_64                                                              1.0.0~DEV.20190320-6.el7.remi                                         remi-safe\r\nphp74-php-pecl-xattr.x86_64                                                             1.3.0-8.el7.remi                                                      remi-safe\r\nphp74-php-pecl-xdebug.x86_64                                                            2.9.0-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-xdiff.x86_64                                                             2.0.1-7.el7.remi                                                      remi-safe\r\nphp74-php-pecl-xhprof.x86_64                                                            2.1.4-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-xlswriter.x86_64                                                         1.3.3.2-2.el7.remi                                                    remi-safe\r\nphp74-php-pecl-xmldiff.x86_64                                                           1.1.2-14.el7.remi                                                     remi-safe\r\nphp74-php-pecl-xmldiff-devel.x86_64                                                     1.1.2-14.el7.remi                                                     remi-safe\r\nphp74-php-pecl-xxtea.x86_64                                                             1.0.11-8.el7.remi                                                     remi-safe\r\nphp74-php-pecl-yac.x86_64                                                               2.0.3-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-yaconf.x86_64                                                            1.0.8-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-yaconf-devel.x86_64                                                      1.0.8-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-yaf.x86_64                                                               3.0.9-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-yaml.x86_64                                                              2.0.4-4.el7.remi                                                      remi-safe\r\nphp74-php-pecl-yar.x86_64                                                               2.0.7-1.el7.remi                                                      remi-safe\r\nphp74-php-pecl-yaz.x86_64                                                               1.2.3-3.el7.remi                                                      remi-safe\r\nphp74-php-pecl-zip.x86_64                                                               1.15.5-1.el7.remi                                                     remi-safe\r\nphp74-php-pecl-zmq.x86_64                                                               1.1.3-10.el7.remi                                                     remi-safe\r\nphp74-php-pggi.x86_64                                                                   0.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pgsql.x86_64                                                                  7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-phalcon4.x86_64                                                               4.0.2-1.el7.remi                                                      remi-safe\r\nphp74-php-phpiredis.x86_64                                                              1.0.0-13.el7.remi                                                     remi-safe\r\nphp74-php-pinba.x86_64                                                                  1.1.1-6.el7.remi                                                      remi-safe\r\nphp74-php-process.x86_64                                                                7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-pspell.x86_64                                                                 7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-recode.x86_64                                                                 7.4.0~alpha3-12.el7.remi                                              remi-safe\r\nphp74-php-smbclient.x86_64                                                              1.0.0-4.el7.remi                                                      remi-safe\r\nphp74-php-snappy.x86_64                                                                 0.1.9-4.el7.remi                                                      remi-safe\r\nphp74-php-snmp.x86_64                                                                   7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-snuffleupagus.x86_64                                                          0.5.0-1.el7.remi                                                      remi-safe\r\nphp74-php-soap.x86_64                                                                   7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-sodium.x86_64                                                                 7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-sqlsrv.x86_64                                                                 5.7.1~preview-1.el7.remi                                              remi-safe\r\nphp74-php-tidy.x86_64                                                                   7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-wkhtmltox.x86_64                                                              0.3.2-0.5.20171112.fecc9af.el7.remi                                   remi-safe\r\nphp74-php-xml.x86_64                                                                    7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-xmlrpc.x86_64                                                                 7.4.1-1.el7.remi                                                      remi-safe\r\nphp74-php-zephir-parser.x86_64                                                          1.3.3-1.el7.remi                                                      remi-safe\r\nphp74-php-zephir-parser-devel.x86_64                                                    1.3.3-1.el7.remi                                                      remi-safe\r\nphp74-php-zstd.x86_64                                                                   0.7.7-1.el7.remi                                                      remi-safe\r\nphp74-scldevel.x86_64                                                                   1.0-1.el7.remi                                                        remi-safe\r\nphp74-unit-php.x86_64                                                                   1.14.0-1.el7.remi                                                     remi-safe\r\nphp74-uwsgi-plugin-php.x86_64                                                           2.0.17.1-3.el7.remi                                                   remi-safe\r\nphp74-xhprof.noarch                                                                     2.1.4-1.el7.remi                                                      remi-safe\r\nphp74-zephir.noarch                                                                     0.10.16-1.el7.remi                                                    remi-safe\r\n<\/code><\/pre>\n<p>php7.4\u304c\u3042\u308b\u3088\u3046\u306a\u306e\u3067php7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u8003\u3048\u308b\u3002<\/p>\n<h2>httpd+php7.4+mariadb \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n<pre class=\"post-pre\"><code># yum install httpd mariadb-server php74\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: ftp.iij.ad.jp\r\n * epel: ftp.iij.ad.jp\r\n * extras: ftp.iij.ad.jp\r\n * remi-safe: ftp.riken.jp\r\n * updates: ftp.iij.ad.jp\r\nResolving Dependencies\r\n--&gt; Running transaction check\r\n---&gt; Package httpd.x86_64 0:2.4.6-90.el7.centos will be installed\r\n--&gt; Processing Dependency: httpd-tools = 2.4.6-90.el7.centos for package: httpd-2.4.6-90.el7.centos.x86_64\r\n--&gt; Processing Dependency: \/etc\/mime.types for package: httpd-2.4.6-90.el7.centos.x86_64\r\n--&gt; Processing Dependency: libaprutil-1.so.0()(64bit) for package: httpd-2.4.6-90.el7.centos.x86_64\r\n--&gt; Processing Dependency: libapr-1.so.0()(64bit) for package: httpd-2.4.6-90.el7.centos.x86_64\r\n---&gt; Package mariadb-server.x86_64 1:5.5.64-1.el7 will be installed\r\n--&gt; Processing Dependency: mariadb(x86-64) = 1:5.5.64-1.el7 for package: 1:mariadb-server-5.5.64-1.el7.x86_64\r\n--&gt; Processing Dependency: perl-DBI for package: 1:mariadb-server-5.5.64-1.el7.x86_64\r\n--&gt; Processing Dependency: perl-DBD-MySQL for package: 1:mariadb-server-5.5.64-1.el7.x86_64\r\n--&gt; Processing Dependency: perl(DBI) for package: 1:mariadb-server-5.5.64-1.el7.x86_64\r\n--&gt; Processing Dependency: libaio.so.1(LIBAIO_0.4)(64bit) for package: 1:mariadb-server-5.5.64-1.el7.x86_64\r\n--&gt; Processing Dependency: libaio.so.1(LIBAIO_0.1)(64bit) for package: 1:mariadb-server-5.5.64-1.el7.x86_64\r\n--&gt; Processing Dependency: libaio.so.1()(64bit) for package: 1:mariadb-server-5.5.64-1.el7.x86_64\r\n---&gt; Package php74.x86_64 0:1.0-1.el7.remi will be installed\r\n--&gt; Processing Dependency: php74-runtime(x86-64) = 1.0-1.el7.remi for package: php74-1.0-1.el7.remi.x86_64\r\n--&gt; Processing Dependency: php74-runtime for package: php74-1.0-1.el7.remi.x86_64\r\n--&gt; Processing Dependency: php74-php-common(x86-64) for package: php74-1.0-1.el7.remi.x86_64\r\n--&gt; Processing Dependency: php74-php-cli(x86-64) for package: php74-1.0-1.el7.remi.x86_64\r\n--&gt; Running transaction check\r\n---&gt; Package apr.x86_64 0:1.4.8-5.el7 will be installed\r\n---&gt; Package apr-util.x86_64 0:1.5.2-6.el7 will be installed\r\n---&gt; Package httpd-tools.x86_64 0:2.4.6-90.el7.centos will be installed\r\n---&gt; Package libaio.x86_64 0:0.3.109-13.el7 will be installed\r\n---&gt; Package mailcap.noarch 0:2.1.41-2.el7 will be installed\r\n---&gt; Package mariadb.x86_64 1:5.5.64-1.el7 will be installed\r\n---&gt; Package perl-DBD-MySQL.x86_64 0:4.023-6.el7 will be installed\r\n---&gt; Package perl-DBI.x86_64 0:1.627-4.el7 will be installed\r\n--&gt; Processing Dependency: perl(RPC::PlServer) &gt;= 0.2001 for package: perl-DBI-1.627-4.el7.x86_64\r\n--&gt; Processing Dependency: perl(RPC::PlClient) &gt;= 0.2000 for package: perl-DBI-1.627-4.el7.x86_64\r\n---&gt; Package php74-php-cli.x86_64 0:7.4.1-1.el7.remi will be installed\r\n---&gt; Package php74-php-common.x86_64 0:7.4.1-1.el7.remi will be installed\r\n--&gt; Processing Dependency: php74-php-json(x86-64) = 7.4.1-1.el7.remi for package: php74-php-common-7.4.1-1.el7.remi.x86_64\r\n---&gt; Package php74-runtime.x86_64 0:1.0-1.el7.remi will be installed\r\n--&gt; Processing Dependency: \/usr\/sbin\/semanage for package: php74-runtime-1.0-1.el7.remi.x86_64\r\n--&gt; Processing Dependency: environment-modules for package: php74-runtime-1.0-1.el7.remi.x86_64\r\n--&gt; Processing Dependency: scl-utils for package: php74-runtime-1.0-1.el7.remi.x86_64\r\n--&gt; Running transaction check\r\n---&gt; Package environment-modules.x86_64 0:3.2.10-10.el7 will be installed\r\n--&gt; Processing Dependency: libtcl8.5.so()(64bit) for package: environment-modules-3.2.10-10.el7.x86_64\r\n--&gt; Processing Dependency: libX11.so.6()(64bit) for package: environment-modules-3.2.10-10.el7.x86_64\r\n---&gt; Package perl-PlRPC.noarch 0:0.2020-14.el7 will be installed\r\n--&gt; Processing Dependency: perl(Net::Daemon) &gt;= 0.13 for package: perl-PlRPC-0.2020-14.el7.noarch\r\n--&gt; Processing Dependency: perl(Net::Daemon::Test) for package: perl-PlRPC-0.2020-14.el7.noarch\r\n--&gt; Processing Dependency: perl(Net::Daemon::Log) for package: perl-PlRPC-0.2020-14.el7.noarch\r\n--&gt; Processing Dependency: perl(Compress::Zlib) for package: perl-PlRPC-0.2020-14.el7.noarch\r\n---&gt; Package php74-php-json.x86_64 0:7.4.1-1.el7.remi will be installed\r\n---&gt; Package policycoreutils-python.x86_64 0:2.5-33.el7 will be installed\r\n--&gt; Processing Dependency: setools-libs &gt;= 3.3.8-4 for package: policycoreutils-python-2.5-33.el7.x86_64\r\n--&gt; Processing Dependency: libsemanage-python &gt;= 2.5-14 for package: policycoreutils-python-2.5-33.el7.x86_64\r\n--&gt; Processing Dependency: audit-libs-python &gt;= 2.1.3-4 for package: policycoreutils-python-2.5-33.el7.x86_64\r\n--&gt; Processing Dependency: python-IPy for package: policycoreutils-python-2.5-33.el7.x86_64\r\n--&gt; Processing Dependency: libselinux-python for package: policycoreutils-python-2.5-33.el7.x86_64\r\n--&gt; Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-33.el7.x86_64\r\n--&gt; Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-33.el7.x86_64\r\n--&gt; Processing Dependency: libcgroup for package: policycoreutils-python-2.5-33.el7.x86_64\r\n--&gt; Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-33.el7.x86_64\r\n--&gt; Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-33.el7.x86_64\r\n--&gt; Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-33.el7.x86_64\r\n--&gt; Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-33.el7.x86_64\r\n---&gt; Package scl-utils.x86_64 0:20130529-19.el7 will be installed\r\n--&gt; Running transaction check\r\n---&gt; Package audit-libs-python.x86_64 0:2.8.5-4.el7 will be installed\r\n---&gt; Package checkpolicy.x86_64 0:2.5-8.el7 will be installed\r\n---&gt; Package libX11.x86_64 0:1.6.7-2.el7 will be installed\r\n--&gt; Processing Dependency: libX11-common &gt;= 1.6.7-2.el7 for package: libX11-1.6.7-2.el7.x86_64\r\n--&gt; Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.7-2.el7.x86_64\r\n---&gt; Package libcgroup.x86_64 0:0.41-21.el7 will be installed\r\n---&gt; Package libselinux-python.x86_64 0:2.5-14.1.el7 will be installed\r\n---&gt; Package libsemanage-python.x86_64 0:2.5-14.el7 will be installed\r\n---&gt; Package perl-IO-Compress.noarch 0:2.061-2.el7 will be installed\r\n--&gt; Processing Dependency: perl(Compress::Raw::Zlib) &gt;= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch\r\n--&gt; Processing Dependency: perl(Compress::Raw::Bzip2) &gt;= 2.061 for package: perl-IO-Compress-2.061-2.el7.noarch\r\n---&gt; Package perl-Net-Daemon.noarch 0:0.48-5.el7 will be installed\r\n---&gt; Package python-IPy.noarch 0:0.75-6.el7 will be installed\r\n---&gt; Package setools-libs.x86_64 0:3.3.8-4.el7 will be installed\r\n---&gt; Package tcl.x86_64 1:8.5.13-8.el7 will be installed\r\n--&gt; Running transaction check\r\n---&gt; Package libX11-common.noarch 0:1.6.7-2.el7 will be installed\r\n---&gt; Package libxcb.x86_64 0:1.13-1.el7 will be installed\r\n--&gt; Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.13-1.el7.x86_64\r\n---&gt; Package perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7 will be installed\r\n---&gt; Package perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7 will be installed\r\n--&gt; Running transaction check\r\n---&gt; Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed\r\n--&gt; Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n========================================================================================================================================================================\r\n Package                                          Arch                            Version                                      Repository                          Size\r\n========================================================================================================================================================================\r\nInstalling:\r\n httpd                                            x86_64                          2.4.6-90.el7.centos                          base                               2.7 M\r\n mariadb-server                                   x86_64                          1:5.5.64-1.el7                               base                                11 M\r\n php74                                            x86_64                          1.0-1.el7.remi                               remi-safe                          2.4 k\r\nInstalling for dependencies:\r\n apr                                              x86_64                          1.4.8-5.el7                                  base                               103 k\r\n apr-util                                         x86_64                          1.5.2-6.el7                                  base                                92 k\r\n audit-libs-python                                x86_64                          2.8.5-4.el7                                  base                                76 k\r\n checkpolicy                                      x86_64                          2.5-8.el7                                    base                               295 k\r\n environment-modules                              x86_64                          3.2.10-10.el7                                base                               107 k\r\n httpd-tools                                      x86_64                          2.4.6-90.el7.centos                          base                                91 k\r\n libX11                                           x86_64                          1.6.7-2.el7                                  base                               607 k\r\n libX11-common                                    noarch                          1.6.7-2.el7                                  base                               164 k\r\n libXau                                           x86_64                          1.0.8-2.1.el7                                base                                29 k\r\n libaio                                           x86_64                          0.3.109-13.el7                               base                                24 k\r\n libcgroup                                        x86_64                          0.41-21.el7                                  base                                66 k\r\n libselinux-python                                x86_64                          2.5-14.1.el7                                 base                               235 k\r\n libsemanage-python                               x86_64                          2.5-14.el7                                   base                               113 k\r\n libxcb                                           x86_64                          1.13-1.el7                                   base                               214 k\r\n mailcap                                          noarch                          2.1.41-2.el7                                 base                                31 k\r\n mariadb                                          x86_64                          1:5.5.64-1.el7                               base                               8.7 M\r\n perl-Compress-Raw-Bzip2                          x86_64                          2.061-3.el7                                  base                                32 k\r\n perl-Compress-Raw-Zlib                           x86_64                          1:2.061-4.el7                                base                                57 k\r\n perl-DBD-MySQL                                   x86_64                          4.023-6.el7                                  base                               140 k\r\n perl-DBI                                         x86_64                          1.627-4.el7                                  base                               802 k\r\n perl-IO-Compress                                 noarch                          2.061-2.el7                                  base                               260 k\r\n perl-Net-Daemon                                  noarch                          0.48-5.el7                                   base                                51 k\r\n perl-PlRPC                                       noarch                          0.2020-14.el7                                base                                36 k\r\n php74-php-cli                                    x86_64                          7.4.1-1.el7.remi                             remi-safe                          3.4 M\r\n php74-php-common                                 x86_64                          7.4.1-1.el7.remi                             remi-safe                          677 k\r\n php74-php-json                                   x86_64                          7.4.1-1.el7.remi                             remi-safe                           71 k\r\n php74-runtime                                    x86_64                          1.0-1.el7.remi                               remi-safe                          1.1 M\r\n policycoreutils-python                           x86_64                          2.5-33.el7                                   base                               457 k\r\n python-IPy                                       noarch                          0.75-6.el7                                   base                                32 k\r\n scl-utils                                        x86_64                          20130529-19.el7                              base                                24 k\r\n setools-libs                                     x86_64                          3.3.8-4.el7                                  base                               620 k\r\n tcl                                              x86_64                          1:8.5.13-8.el7                               base                               1.9 M\r\n\r\nTransaction Summary\r\n========================================================================================================================================================================\r\nInstall  3 Packages (+32 Dependent packages)\r\n\r\nTotal download size: 35 M\r\nInstalled size: 153 M\r\nIs this ok [y\/d\/N]: y\r\nDownloading packages:\r\n(1\/35): apr-1.4.8-5.el7.x86_64.rpm                                                                                                               | 103 kB  00:00:00\r\n(2\/35): apr-util-1.5.2-6.el7.x86_64.rpm                                                                                                          |  92 kB  00:00:01\r\n(3\/35): audit-libs-python-2.8.5-4.el7.x86_64.rpm                                                                                                 |  76 kB  00:00:01\r\n(4\/35): checkpolicy-2.5-8.el7.x86_64.rpm                                                                                                         | 295 kB  00:00:00\r\n(5\/35): httpd-tools-2.4.6-90.el7.centos.x86_64.rpm                                                                                               |  91 kB  00:00:00\r\n(6\/35): environment-modules-3.2.10-10.el7.x86_64.rpm                                                                                             | 107 kB  00:00:00\r\n(7\/35): httpd-2.4.6-90.el7.centos.x86_64.rpm                                                                                                     | 2.7 MB  00:00:00\r\n(8\/35): libXau-1.0.8-2.1.el7.x86_64.rpm                                                                                                          |  29 kB  00:00:00\r\n(9\/35): libaio-0.3.109-13.el7.x86_64.rpm                                                                                                         |  24 kB  00:00:00\r\n(10\/35): libX11-common-1.6.7-2.el7.noarch.rpm                                                                                                    | 164 kB  00:00:00\r\n(11\/35): libX11-1.6.7-2.el7.x86_64.rpm                                                                                                           | 607 kB  00:00:00\r\n(12\/35): libcgroup-0.41-21.el7.x86_64.rpm                                                                                                        |  66 kB  00:00:00\r\n(13\/35): mailcap-2.1.41-2.el7.noarch.rpm                                                                                                         |  31 kB  00:00:00\r\n(14\/35): libsemanage-python-2.5-14.el7.x86_64.rpm                                                                                                | 113 kB  00:00:00\r\n(15\/35): libselinux-python-2.5-14.1.el7.x86_64.rpm                                                                                               | 235 kB  00:00:00\r\n(16\/35): libxcb-1.13-1.el7.x86_64.rpm                                                                                                            | 214 kB  00:00:00\r\n(17\/35): perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64.rpm                                                                                          |  32 kB  00:00:00\r\n(18\/35): perl-DBD-MySQL-4.023-6.el7.x86_64.rpm                                                                                                   | 140 kB  00:00:00\r\n(19\/35): perl-Compress-Raw-Zlib-2.061-4.el7.x86_64.rpm                                                                                           |  57 kB  00:00:00\r\n(20\/35): perl-Net-Daemon-0.48-5.el7.noarch.rpm                                                                                                   |  51 kB  00:00:00\r\n(21\/35): perl-IO-Compress-2.061-2.el7.noarch.rpm                                                                                                 | 260 kB  00:00:00\r\n(22\/35): perl-PlRPC-0.2020-14.el7.noarch.rpm                                                                                                     |  36 kB  00:00:00\r\n(23\/35): mariadb-server-5.5.64-1.el7.x86_64.rpm                                                                                                  |  11 MB  00:00:00\r\n(24\/35): perl-DBI-1.627-4.el7.x86_64.rpm                                                                                                         | 802 kB  00:00:00\r\nwarning: \/var\/cache\/yum\/x86_64\/7\/remi-safe\/packages\/php74-1.0-1.el7.remi.x86_64.rpm: Header V4 DSA\/SHA1 Signature, key ID 00f97f56: NOKEY13 MB\/s |  24 MB  00:00:00 ETA\r\nPublic key for php74-1.0-1.el7.remi.x86_64.rpm is not installed\r\n(25\/35): php74-1.0-1.el7.remi.x86_64.rpm                                                                                                         | 2.4 kB  00:00:00\r\n(26\/35): mariadb-5.5.64-1.el7.x86_64.rpm                                                                                                         | 8.7 MB  00:00:00\r\n(27\/35): php74-php-common-7.4.1-1.el7.remi.x86_64.rpm                                                                                            | 677 kB  00:00:00\r\n(28\/35): php74-php-json-7.4.1-1.el7.remi.x86_64.rpm                                                                                              |  71 kB  00:00:00\r\n(29\/35): php74-php-cli-7.4.1-1.el7.remi.x86_64.rpm                                                                                               | 3.4 MB  00:00:00\r\n(30\/35): php74-runtime-1.0-1.el7.remi.x86_64.rpm                                                                                                 | 1.1 MB  00:00:00\r\n(31\/35): scl-utils-20130529-19.el7.x86_64.rpm                                                                                                    |  24 kB  00:00:00\r\n(32\/35): python-IPy-0.75-6.el7.noarch.rpm                                                                                                        |  32 kB  00:00:00\r\n(33\/35): setools-libs-3.3.8-4.el7.x86_64.rpm                                                                                                     | 620 kB  00:00:00\r\n(34\/35): policycoreutils-python-2.5-33.el7.x86_64.rpm                                                                                            | 457 kB  00:00:00\r\n(35\/35): tcl-8.5.13-8.el7.x86_64.rpm                                                                                                             | 1.9 MB  00:00:00\r\n------------------------------------------------------------------------------------------------------------------------------------------------------------------------\r\nTotal                                                                                                                                   9.2 MB\/s |  35 MB  00:00:03\r\nRetrieving key from file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-remi\r\nImporting GPG key 0x00F97F56:\r\n Userid     : \"Remi Collet &lt;RPMS@FamilleCollet.com&gt;\"\r\n Fingerprint: 1ee0 4cce 88a4 ae4a a29a 5df5 004e 6f47 00f9 7f56\r\n Package    : remi-release-7.7-1.el7.remi.noarch (installed)\r\n From       : \/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-remi\r\nIs this ok [y\/N]: y\r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\nWarning: RPMDB altered outside of yum.\r\n  Installing : apr-1.4.8-5.el7.x86_64                                                                                                                              1\/35\r\n  Installing : apr-util-1.5.2-6.el7.x86_64                                                                                                                         2\/35\r\n  Installing : httpd-tools-2.4.6-90.el7.centos.x86_64                                                                                                              3\/35\r\n  Installing : libcgroup-0.41-21.el7.x86_64                                                                                                                        4\/35\r\n  Installing : libXau-1.0.8-2.1.el7.x86_64                                                                                                                         5\/35\r\n  Installing : libxcb-1.13-1.el7.x86_64                                                                                                                            6\/35\r\n  Installing : libselinux-python-2.5-14.1.el7.x86_64                                                                                                               7\/35\r\n  Installing : audit-libs-python-2.8.5-4.el7.x86_64                                                                                                                8\/35\r\n  Installing : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                                                                                                         9\/35\r\n  Installing : libsemanage-python-2.5-14.el7.x86_64                                                                                                               10\/35\r\n  Installing : setools-libs-3.3.8-4.el7.x86_64                                                                                                                    11\/35\r\n  Installing : libaio-0.3.109-13.el7.x86_64                                                                                                                       12\/35\r\n  Installing : libX11-common-1.6.7-2.el7.noarch                                                                                                                   13\/35\r\n  Installing : libX11-1.6.7-2.el7.x86_64                                                                                                                          14\/35\r\n  Installing : python-IPy-0.75-6.el7.noarch                                                                                                                       15\/35\r\n  Installing : 1:mariadb-5.5.64-1.el7.x86_64                                                                                                                      16\/35\r\n  Installing : scl-utils-20130529-19.el7.x86_64                                                                                                                   17\/35\r\n  Installing : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                  18\/35\r\n  Installing : checkpolicy-2.5-8.el7.x86_64                                                                                                                       19\/35\r\n  Installing : policycoreutils-python-2.5-33.el7.x86_64                                                                                                           20\/35\r\n  Installing : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                                                                                                         21\/35\r\n  Installing : perl-IO-Compress-2.061-2.el7.noarch                                                                                                                22\/35\r\n  Installing : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                    23\/35\r\n  Installing : perl-DBI-1.627-4.el7.x86_64                                                                                                                        24\/35\r\n  Installing : perl-DBD-MySQL-4.023-6.el7.x86_64                                                                                                                  25\/35\r\n  Installing : mailcap-2.1.41-2.el7.noarch                                                                                                                        26\/35\r\n  Installing : 1:tcl-8.5.13-8.el7.x86_64                                                                                                                          27\/35\r\n  Installing : environment-modules-3.2.10-10.el7.x86_64                                                                                                           28\/35\r\n  Installing : php74-runtime-1.0-1.el7.remi.x86_64                                                                                                                29\/35\r\n  Installing : php74-php-json-7.4.1-1.el7.remi.x86_64                                                                                                             30\/35\r\n  Installing : php74-php-common-7.4.1-1.el7.remi.x86_64                                                                                                           31\/35\r\n  Installing : php74-php-cli-7.4.1-1.el7.remi.x86_64                                                                                                              32\/35\r\n  Installing : php74-1.0-1.el7.remi.x86_64                                                                                                                        33\/35\r\n  Installing : httpd-2.4.6-90.el7.centos.x86_64                                                                                                                   34\/35\r\n  Installing : 1:mariadb-server-5.5.64-1.el7.x86_64                                                                                                               35\/35\r\n  Verifying  : 1:tcl-8.5.13-8.el7.x86_64                                                                                                                           1\/35\r\n  Verifying  : perl-IO-Compress-2.061-2.el7.noarch                                                                                                                 2\/35\r\n  Verifying  : php74-php-common-7.4.1-1.el7.remi.x86_64                                                                                                            3\/35\r\n  Verifying  : mailcap-2.1.41-2.el7.noarch                                                                                                                         4\/35\r\n  Verifying  : httpd-tools-2.4.6-90.el7.centos.x86_64                                                                                                              5\/35\r\n  Verifying  : environment-modules-3.2.10-10.el7.x86_64                                                                                                            6\/35\r\n  Verifying  : httpd-2.4.6-90.el7.centos.x86_64                                                                                                                    7\/35\r\n  Verifying  : apr-1.4.8-5.el7.x86_64                                                                                                                              8\/35\r\n  Verifying  : php74-php-cli-7.4.1-1.el7.remi.x86_64                                                                                                               9\/35\r\n  Verifying  : perl-Compress-Raw-Bzip2-2.061-3.el7.x86_64                                                                                                         10\/35\r\n  Verifying  : checkpolicy-2.5-8.el7.x86_64                                                                                                                       11\/35\r\n  Verifying  : perl-Net-Daemon-0.48-5.el7.noarch                                                                                                                  12\/35\r\n  Verifying  : scl-utils-20130529-19.el7.x86_64                                                                                                                   13\/35\r\n  Verifying  : 1:mariadb-5.5.64-1.el7.x86_64                                                                                                                      14\/35\r\n  Verifying  : php74-runtime-1.0-1.el7.remi.x86_64                                                                                                                15\/35\r\n  Verifying  : python-IPy-0.75-6.el7.noarch                                                                                                                       16\/35\r\n  Verifying  : libX11-1.6.7-2.el7.x86_64                                                                                                                          17\/35\r\n  Verifying  : libX11-common-1.6.7-2.el7.noarch                                                                                                                   18\/35\r\n  Verifying  : libxcb-1.13-1.el7.x86_64                                                                                                                           19\/35\r\n  Verifying  : perl-DBI-1.627-4.el7.x86_64                                                                                                                        20\/35\r\n  Verifying  : libaio-0.3.109-13.el7.x86_64                                                                                                                       21\/35\r\n  Verifying  : setools-libs-3.3.8-4.el7.x86_64                                                                                                                    22\/35\r\n  Verifying  : policycoreutils-python-2.5-33.el7.x86_64                                                                                                           23\/35\r\n  Verifying  : libsemanage-python-2.5-14.el7.x86_64                                                                                                               24\/35\r\n  Verifying  : apr-util-1.5.2-6.el7.x86_64                                                                                                                        25\/35\r\n  Verifying  : 1:perl-Compress-Raw-Zlib-2.061-4.el7.x86_64                                                                                                        26\/35\r\n  Verifying  : audit-libs-python-2.8.5-4.el7.x86_64                                                                                                               27\/35\r\n  Verifying  : php74-php-json-7.4.1-1.el7.remi.x86_64                                                                                                             28\/35\r\n  Verifying  : perl-PlRPC-0.2020-14.el7.noarch                                                                                                                    29\/35\r\n  Verifying  : libselinux-python-2.5-14.1.el7.x86_64                                                                                                              30\/35\r\n  Verifying  : libXau-1.0.8-2.1.el7.x86_64                                                                                                                        31\/35\r\n  Verifying  : perl-DBD-MySQL-4.023-6.el7.x86_64                                                                                                                  32\/35\r\n  Verifying  : php74-1.0-1.el7.remi.x86_64                                                                                                                        33\/35\r\n  Verifying  : 1:mariadb-server-5.5.64-1.el7.x86_64                                                                                                               34\/35\r\n  Verifying  : libcgroup-0.41-21.el7.x86_64                                                                                                                       35\/35\r\n\r\nInstalled:\r\n  httpd.x86_64 0:2.4.6-90.el7.centos                      mariadb-server.x86_64 1:5.5.64-1.el7                      php74.x86_64 0:1.0-1.el7.remi\r\n\r\nDependency Installed:\r\n  apr.x86_64 0:1.4.8-5.el7                              apr-util.x86_64 0:1.5.2-6.el7                           audit-libs-python.x86_64 0:2.8.5-4.el7\r\n  checkpolicy.x86_64 0:2.5-8.el7                        environment-modules.x86_64 0:3.2.10-10.el7              httpd-tools.x86_64 0:2.4.6-90.el7.centos\r\n  libX11.x86_64 0:1.6.7-2.el7                           libX11-common.noarch 0:1.6.7-2.el7                      libXau.x86_64 0:1.0.8-2.1.el7\r\n  libaio.x86_64 0:0.3.109-13.el7                        libcgroup.x86_64 0:0.41-21.el7                          libselinux-python.x86_64 0:2.5-14.1.el7\r\n  libsemanage-python.x86_64 0:2.5-14.el7                libxcb.x86_64 0:1.13-1.el7                              mailcap.noarch 0:2.1.41-2.el7\r\n  mariadb.x86_64 1:5.5.64-1.el7                         perl-Compress-Raw-Bzip2.x86_64 0:2.061-3.el7            perl-Compress-Raw-Zlib.x86_64 1:2.061-4.el7\r\n  perl-DBD-MySQL.x86_64 0:4.023-6.el7                   perl-DBI.x86_64 0:1.627-4.el7                           perl-IO-Compress.noarch 0:2.061-2.el7\r\n  perl-Net-Daemon.noarch 0:0.48-5.el7                   perl-PlRPC.noarch 0:0.2020-14.el7                       php74-php-cli.x86_64 0:7.4.1-1.el7.remi\r\n  php74-php-common.x86_64 0:7.4.1-1.el7.remi            php74-php-json.x86_64 0:7.4.1-1.el7.remi                php74-runtime.x86_64 0:1.0-1.el7.remi\r\n  policycoreutils-python.x86_64 0:2.5-33.el7            python-IPy.noarch 0:0.75-6.el7                          scl-utils.x86_64 0:20130529-19.el7\r\n  setools-libs.x86_64 0:3.3.8-4.el7                     tcl.x86_64 1:8.5.13-8.el7\r\n\r\nComplete!\r\n<\/code><\/pre>\n<h2>\u4fee\u6b63httpd.conf\u3002<\/h2>\n<p>\u5c06 index.php \u8fdb\u884c\u4fee\u6b63\u4ee5\u4f7f\u5176\u53ef\u7528\u3002<\/p>\n<pre class=\"post-pre\"><code># diff -u .\/old\/httpd.conf.org httpd.conf\r\n--- .\/old\/httpd.conf.org        2019-08-06 22:44:34.000000000 +0900\r\n+++ httpd.conf  2020-01-15 03:07:52.566074490 +0900\r\n@@ -161,7 +161,7 @@\r\n # is requested.\r\n #\r\n &lt;IfModule dir_module&gt;\r\n-    DirectoryIndex index.html\r\n+    DirectoryIndex index.php index.html\r\n &lt;\/IfModule&gt;\r\n<\/code><\/pre>\n<h2>\u542f\u52a8httpd<\/h2>\n<p>\u542f\u52a8httpd<\/p>\n<pre class=\"post-pre\"><code># systemctl start httpd.service\r\n<\/code><\/pre>\n<p>\u9a8c\u8bc1<\/p>\n<pre class=\"post-pre\"><code># systemctl status httpd.service\r\n\u25cf httpd.service - The Apache HTTP Server\r\n   Loaded: loaded (\/usr\/lib\/systemd\/system\/httpd.service; disabled; vendor preset: disabled)\r\n   Active: active (running) since Wed 2020-01-15 03:08:21 JST; 3min 13s ago\r\n     Docs: man:httpd(8)\r\n           man:apachectl(8)\r\n Main PID: 1449 (httpd)\r\n   Status: \"Total requests: 2; Current requests\/sec: 0; Current traffic:   0 B\/sec\"\r\n   CGroup: \/system.slice\/httpd.service\r\n           tq1449 \/usr\/sbin\/httpd -DFOREGROUND\r\n           tq1450 \/usr\/sbin\/httpd -DFOREGROUND\r\n           tq1451 \/usr\/sbin\/httpd -DFOREGROUND\r\n           tq1452 \/usr\/sbin\/httpd -DFOREGROUND\r\n           tq1453 \/usr\/sbin\/httpd -DFOREGROUND\r\n           tq1454 \/usr\/sbin\/httpd -DFOREGROUND\r\n           mq1541 \/usr\/sbin\/httpd -DFOREGROUND\r\n<\/code><\/pre>\n<h2>\u786e\u8ba4\u7f51\u7edc\u6d4f\u89c8<\/h2>\n<p>\u521b\u5efa\u7528\u4e8e\u786e\u8ba4\u7684index.php<\/p>\n<pre class=\"post-pre\"><code>vim \/var\/www\/html\/index.php\r\n<\/code><\/pre>\n<p>\u5185\u90e8\u7684\u5185\u5bb9 or \u5185\u5bb9<\/p>\n<pre class=\"post-pre\"><code>&lt;?php\r\nphpinfo();\r\n?&gt;\r\n<\/code><\/pre>\n<p>\u8bbf\u95eeindex.php\u65f6\u51fa\u73b0\u4e00\u4e2a\u7a7a\u767d\u9875\u9762\uff0c\u65e0\u6cd5\u663e\u793aphpinfo\u7684\u5185\u5bb9\u3002\u67e5\u770baccess_log\u548cerror_log\uff0c\u6ca1\u6709\u5f02\u5e38\u7684\u65e5\u5fd7\u3002<\/p>\n<h1>\u8c03\u67e5\u539f\u56e0<\/h1>\n<p>\u5728\u7f51\u4e0a\u641c\u7d22PHP\u7684\u5b89\u88c5\u65b9\u6cd5\u65f6\uff0c\u6211\u53d1\u73b0\u6709\u4e00\u79cd\u65b9\u6cd5\u53ef\u4ee5\u786e\u8ba4Apache\u662f\u5426\u5df2\u52a0\u8f7d\u4e86PHP\u6a21\u5757\u3002<\/p>\n<pre class=\"post-pre\"><code># httpd -M |grep php\r\n#\r\n<\/code><\/pre>\n<p>\u8fd8\u6ca1\u6709\u52a0\u8f7d\u3002<\/p>\n<p>\u56e0\u4e3a\u4e0d\u662f\u5f88\u6e05\u695a\uff0c\u6240\u4ee5\u51b3\u5b9a\u5c1d\u8bd5\u5b89\u88c5 CentOS7 \u6807\u51c6\u7684 PHP\u3002<\/p>\n<pre class=\"post-pre\"><code># yum install php\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: ftp.iij.ad.jp\r\n * epel: ftp.iij.ad.jp\r\n * extras: ftp.iij.ad.jp\r\n * remi-safe: ftp.riken.jp\r\n * updates: ftp.iij.ad.jp\r\nResolving Dependencies\r\n--&gt; Running transaction check\r\n---&gt; Package php.x86_64 0:5.4.16-46.1.el7_7 will be installed\r\n--&gt; Processing Dependency: php-common(x86-64) = 5.4.16-46.1.el7_7 for package: php-5.4.16-46.1.el7_7.x86_64\r\n--&gt; Processing Dependency: php-cli(x86-64) = 5.4.16-46.1.el7_7 for package: php-5.4.16-46.1.el7_7.x86_64\r\n--&gt; Running transaction check\r\n---&gt; Package php-cli.x86_64 0:5.4.16-46.1.el7_7 will be installed\r\n---&gt; Package php-common.x86_64 0:5.4.16-46.1.el7_7 will be installed\r\n--&gt; Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-46.1.el7_7.x86_64\r\n--&gt; Running transaction check\r\n---&gt; Package libzip.x86_64 0:0.10.1-8.el7 will be installed\r\n--&gt; Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n========================================================================================================================================================================\r\n Package                                 Arch                                Version                                         Repository                            Size\r\n========================================================================================================================================================================\r\nInstalling:\r\n php                                     x86_64                              5.4.16-46.1.el7_7                               updates                              1.4 M\r\nInstalling for dependencies:\r\n libzip                                  x86_64                              0.10.1-8.el7                                    base                                  48 k\r\n php-cli                                 x86_64                              5.4.16-46.1.el7_7                               updates                              2.7 M\r\n php-common                              x86_64                              5.4.16-46.1.el7_7                               updates                              565 k\r\n\r\nTransaction Summary\r\n========================================================================================================================================================================\r\nInstall  1 Package (+3 Dependent packages)\r\n\r\nTotal download size: 4.7 M\r\nInstalled size: 17 M\r\nIs this ok [y\/d\/N]: y\r\nDownloading packages:\r\n(1\/4): libzip-0.10.1-8.el7.x86_64.rpm                                                                                                            |  48 kB  00:00:00\r\n(2\/4): php-5.4.16-46.1.el7_7.x86_64.rpm                                                                                                          | 1.4 MB  00:00:00\r\n(3\/4): php-common-5.4.16-46.1.el7_7.x86_64.rpm                                                                                                   | 565 kB  00:00:00\r\n(4\/4): php-cli-5.4.16-46.1.el7_7.x86_64.rpm                                                                                                      | 2.7 MB  00:00:01\r\n------------------------------------------------------------------------------------------------------------------------------------------------------------------------\r\nTotal                                                                                                                                   3.4 MB\/s | 4.7 MB  00:00:01\r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\n  Installing : libzip-0.10.1-8.el7.x86_64                                                                                                                           1\/4\r\n  Installing : php-common-5.4.16-46.1.el7_7.x86_64                                                                                                                  2\/4\r\n  Installing : php-cli-5.4.16-46.1.el7_7.x86_64                                                                                                                     3\/4\r\n  Installing : php-5.4.16-46.1.el7_7.x86_64                                                                                                                         4\/4\r\n  Verifying  : php-common-5.4.16-46.1.el7_7.x86_64                                                                                                                  1\/4\r\n  Verifying  : php-cli-5.4.16-46.1.el7_7.x86_64                                                                                                                     2\/4\r\n  Verifying  : libzip-0.10.1-8.el7.x86_64                                                                                                                           3\/4\r\n  Verifying  : php-5.4.16-46.1.el7_7.x86_64                                                                                                                         4\/4\r\n\r\nInstalled:\r\n  php.x86_64 0:5.4.16-46.1.el7_7\r\n\r\nDependency Installed:\r\n  libzip.x86_64 0:0.10.1-8.el7                      php-cli.x86_64 0:5.4.16-46.1.el7_7                      php-common.x86_64 0:5.4.16-46.1.el7_7\r\n\r\nComplete!\r\n<\/code><\/pre>\n<p>\u786e\u8ba4<\/p>\n<pre class=\"post-pre\"><code># httpd -M |grep php\r\n php5_module (shared)\r\n<\/code><\/pre>\n<p>\u5728 httpd \u91cd\u65b0\u542f\u52a8\u540e\uff0c\u5f53\u67e5\u770b index.php \u65f6\uff0c\u53d1\u73b0\u663e\u793a\u4e86 phpinfo \u7684\u5185\u5bb9\uff0c\u56e0\u6b64\u5224\u65ad\u539f\u56e0\u662f\u6a21\u5757\u6ca1\u6709\u52a0\u8f7d\u3002<\/p>\n<p>\u786e\u8ba4\u8be5\u6a21\u5757\u662f\u4ece\u54ea\u4e2a\u5305\u5b89\u88c5\u7684\u3002<\/p>\n<pre class=\"post-pre\"><code># rpm -qf \/etc\/httpd\/conf.modules.d\/10-php.conf\r\nphp-5.4.16-46.1.el7_7.x86_64\r\n<\/code><\/pre>\n<p>\u786e\u8ba4php7.4\u7684\u7248\u672c<\/p>\n<pre class=\"post-pre\"><code># rpm -ql php74-1.0-1.el7.remi.x86_64\r\n(contains no files)\r\n<\/code><\/pre>\n<p>\u6ca1\u6709\u5b89\u88c5\u4efb\u4f55\u4e1c\u897f\u3002<\/p>\n<p>\u786e\u8ba4\u662f\u4ece\u54ea\u4e2a\u4ee3\u7801\u5e93\u5b89\u88c5\u7684\u3002<\/p>\n<pre class=\"post-pre\"><code># yum info php74-1.0-1.el7.remi.x86_64\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: ftp.iij.ad.jp\r\n * epel: ftp.iij.ad.jp\r\n * extras: ftp.iij.ad.jp\r\n * remi-safe: ftp.riken.jp\r\n * updates: ftp.iij.ad.jp\r\nInstalled Packages\r\nName        : php74\r\nArch        : x86_64\r\nVersion     : 1.0\r\nRelease     : 1.el7.remi\r\nSize        : 0.0\r\nRepo        : installed\r\nFrom repo   : remi-safe\r\nSummary     : Package that installs PHP 7.4\r\nLicense     : GPLv2+\r\nDescription : This is the main package for php74 Software Collection,\r\n            : that install PHP 7.4 language.\r\n<\/code><\/pre>\n<p>\u8bf7\u786e\u8ba4yum\u4e2d\u6709\u6548\u7684\u4ed3\u5e93\u3002<\/p>\n<pre class=\"post-pre\"><code># yum repolist enabled\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: ftp.iij.ad.jp\r\n * epel: ftp.iij.ad.jp\r\n * extras: ftp.iij.ad.jp\r\n * remi-safe: ftp.riken.jp\r\n * updates: ftp.iij.ad.jp\r\nrepo id                                                          repo name                                                                                        status\r\nbase\/7\/x86_64                                                    CentOS-7 - Base                                                                                  10,097\r\nepel\/x86_64                                                      Extra Packages for Enterprise Linux 7 - x86_64                                                   13,509\r\nextras\/7\/x86_64                                                  CentOS-7 - Extras                                                                                   307\r\nremi-safe                                                        Safe Remi's RPM repository for Enterprise Linux 7 - x86_64                                        3,669\r\nupdates\/7\/x86_64                                                 CentOS-7 - Updates                                                                                1,010\r\nzabbix\/x86_64                                                    Zabbix Official Repository - x86_64                                                                 417\r\nzabbix-non-supported\/x86_64                                      Zabbix Official Repository non-supported - x86_64                                                     4\r\nrepolist: 29,013\r\n\r\n<\/code><\/pre>\n<p>\u9996\u5148\uff0c\u9700\u8981\u786e\u8ba4\u5b89\u88c5\u4e86\u54ea\u4e2a\u5b58\u50a8\u5e93\u624d\u662fRemi\u5b58\u50a8\u5e93\u3002<\/p>\n<pre class=\"post-pre\"><code># rpm -ql remi-release\r\n\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-remi\r\n\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-remi2017\r\n\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-remi2018\r\n\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-remi2019\r\n\/etc\/yum.repos.d\/remi-glpi91.repo\r\n\/etc\/yum.repos.d\/remi-glpi92.repo\r\n\/etc\/yum.repos.d\/remi-glpi93.repo\r\n\/etc\/yum.repos.d\/remi-glpi94.repo\r\n\/etc\/yum.repos.d\/remi-modular.repo\r\n\/etc\/yum.repos.d\/remi-php54.repo\r\n\/etc\/yum.repos.d\/remi-php70.repo\r\n\/etc\/yum.repos.d\/remi-php71.repo\r\n\/etc\/yum.repos.d\/remi-php72.repo\r\n\/etc\/yum.repos.d\/remi-php73.repo\r\n\/etc\/yum.repos.d\/remi-php74.repo\r\n\/etc\/yum.repos.d\/remi-safe.repo\r\n\/etc\/yum.repos.d\/remi.repo\r\n<\/code><\/pre>\n<p>\u6211\u73b0\u5728\u624d\u610f\u8bc6\u5230\u6709\u4e00\u4e9b\u7ed3\u6784\u5b58\u5728\u3002<br \/>\n\u6211\u8ba4\u4e3a\u53ef\u4ee5\u4eceremi-php74.repo\u5b89\u88c5php7.4\uff0c\u6240\u4ee5\u6211\u542f\u7528\u4e86remi-php74.repo\u5e76\u7981\u7528\u4e86remi-safe.repo\u3002<\/p>\n<pre class=\"post-pre\"><code># diff -u \/etc\/yum.repos.d\/old\/remi-safe.repo.org \/etc\/yum.repos.d\/remi-safe.repo\r\n--- \/etc\/yum.repos.d\/old\/remi-safe.repo.org     2019-09-06 15:31:54.000000000 +0900\r\n+++ \/etc\/yum.repos.d\/remi-safe.repo     2020-01-15 03:23:28.405219753 +0900\r\n@@ -7,7 +7,7 @@\r\n #baseurl=http:\/\/rpms.remirepo.net\/enterprise\/7\/safe\/$basearch\/\r\n #mirrorlist=https:\/\/rpms.remirepo.net\/enterprise\/7\/safe\/httpsmirror\r\n mirrorlist=http:\/\/cdn.remirepo.net\/enterprise\/7\/safe\/mirror\r\n-enabled=1\r\n+enabled=0\r\n gpgcheck=1\r\n gpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-remi\r\n\r\n# diff -u \/etc\/yum.repos.d\/old\/remi-php74.repo.org \/etc\/yum.repos.d\/remi-php74.repo\r\n--- \/etc\/yum.repos.d\/old\/remi-php74.repo.org    2019-09-06 15:31:54.000000000 +0900\r\n+++ \/etc\/yum.repos.d\/remi-php74.repo    2020-01-15 03:24:06.687726309 +0900\r\n@@ -6,7 +6,7 @@\r\n #baseurl=http:\/\/rpms.remirepo.net\/enterprise\/7\/php74\/$basearch\/\r\n #mirrorlist=https:\/\/rpms.remirepo.net\/enterprise\/7\/php74\/httpsmirror\r\n mirrorlist=http:\/\/cdn.remirepo.net\/enterprise\/7\/php74\/mirror\r\n-enabled=0\r\n+enabled=1\r\n gpgcheck=1\r\n gpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-remi\r\n\r\n<\/code><\/pre>\n<p>\u987a\u4fbf\u8bf4\u4e00\u53e5\uff0c\u4eceCentOS\u7684\u57fa\u7840\u4ed3\u5e93\u4e2d\u6392\u9664PHP\u3002<\/p>\n<pre class=\"post-pre\"><code> diff -u \/etc\/yum.repos.d\/old\/CentOS-Base.repo.org \/etc\/yum.repos.d\/CentOS-Base.repo\r\n--- \/etc\/yum.repos.d\/old\/CentOS-Base.repo.org   2019-09-05 22:05:40.000000000 +0900\r\n+++ \/etc\/yum.repos.d\/CentOS-Base.repo   2020-01-15 03:27:20.265297812 +0900\r\n@@ -16,6 +16,7 @@\r\n #baseurl=http:\/\/mirror.centos.org\/centos\/$releasever\/os\/$basearch\/\r\n gpgcheck=1\r\n gpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-7\r\n+exclude=php*\r\n\r\n #released updates\r\n [updates]\r\n@@ -24,6 +25,7 @@\r\n #baseurl=http:\/\/mirror.centos.org\/centos\/$releasever\/updates\/$basearch\/\r\n gpgcheck=1\r\n gpgkey=file:\/\/\/etc\/pki\/rpm-gpg\/RPM-GPG-KEY-CentOS-7\r\n+exclude=php*\r\n<\/code><\/pre>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3044\u305f php \u3092\u30a2\u30f3\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/p>\n<pre class=\"post-pre\"><code># for i in `rpm -qa |grep php`; do yum -y remove $i; done\r\n\r\n<\/code><\/pre>\n<p>\u91cd\u65b0\u5b89\u88c5PHP7.4<\/p>\n<pre class=\"post-pre\"><code># yum install php\r\nLoaded plugins: fastestmirror\r\nLoading mirror speeds from cached hostfile\r\n * base: ftp.iij.ad.jp\r\n * epel: www.ftp.ne.jp\r\n * extras: ftp.iij.ad.jp\r\n * remi-php74: ftp.riken.jp\r\n * updates: ftp.iij.ad.jp\r\nbase                                                                                                                                             | 3.6 kB  00:00:00\r\nextras                                                                                                                                           | 2.9 kB  00:00:00\r\nupdates                                                                                                                                          | 2.9 kB  00:00:00\r\nResolving Dependencies\r\n--&gt; Running transaction check\r\n---&gt; Package php.x86_64 0:7.4.1-1.el7.remi will be installed\r\n--&gt; Processing Dependency: php-cli(x86-64) = 7.4.1-1.el7.remi for package: php-7.4.1-1.el7.remi.x86_64\r\n--&gt; Processing Dependency: php-common(x86-64) = 7.4.1-1.el7.remi for package: php-7.4.1-1.el7.remi.x86_64\r\n--&gt; Running transaction check\r\n---&gt; Package php-cli.x86_64 0:7.4.1-1.el7.remi will be installed\r\n---&gt; Package php-common.x86_64 0:7.4.1-1.el7.remi will be installed\r\n--&gt; Processing Dependency: php-json(x86-64) = 7.4.1-1.el7.remi for package: php-common-7.4.1-1.el7.remi.x86_64\r\n--&gt; Running transaction check\r\n---&gt; Package php-json.x86_64 0:7.4.1-1.el7.remi will be installed\r\n--&gt; Finished Dependency Resolution\r\n\r\nDependencies Resolved\r\n\r\n========================================================================================================================================================================\r\n Package                                Arch                               Version                                         Repository                              Size\r\n========================================================================================================================================================================\r\nInstalling:\r\n php                                    x86_64                             7.4.1-1.el7.remi                                remi-php74                             3.4 M\r\nInstalling for dependencies:\r\n php-cli                                x86_64                             7.4.1-1.el7.remi                                remi-php74                             5.1 M\r\n php-common                             x86_64                             7.4.1-1.el7.remi                                remi-php74                             1.1 M\r\n php-json                               x86_64                             7.4.1-1.el7.remi                                remi-php74                              68 k\r\n\r\nTransaction Summary\r\n========================================================================================================================================================================\r\nInstall  1 Package (+3 Dependent packages)\r\n\r\nTotal download size: 9.7 M\r\nInstalled size: 41 M\r\nIs this ok [y\/d\/N]: y\r\nDownloading packages:\r\n(1\/4): php-7.4.1-1.el7.remi.x86_64.rpm                                                                                                           | 3.4 MB  00:00:00\r\n(2\/4): php-common-7.4.1-1.el7.remi.x86_64.rpm                                                                                                    | 1.1 MB  00:00:00\r\n(3\/4): php-cli-7.4.1-1.el7.remi.x86_64.rpm                                                                                                       | 5.1 MB  00:00:00\r\n(4\/4): php-json-7.4.1-1.el7.remi.x86_64.rpm                                                                                                      |  68 kB  00:00:00\r\n------------------------------------------------------------------------------------------------------------------------------------------------------------------------\r\nTotal                                                                                                                                    12 MB\/s | 9.7 MB  00:00:00\r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\n  Installing : php-json-7.4.1-1.el7.remi.x86_64                                                                                                                     1\/4\r\n  Installing : php-common-7.4.1-1.el7.remi.x86_64                                                                                                                   2\/4\r\n  Installing : php-cli-7.4.1-1.el7.remi.x86_64                                                                                                                      3\/4\r\n  Installing : php-7.4.1-1.el7.remi.x86_64                                                                                                                          4\/4\r\n  Verifying  : php-common-7.4.1-1.el7.remi.x86_64                                                                                                                   1\/4\r\n  Verifying  : php-cli-7.4.1-1.el7.remi.x86_64                                                                                                                      2\/4\r\n  Verifying  : php-json-7.4.1-1.el7.remi.x86_64                                                                                                                     3\/4\r\n  Verifying  : php-7.4.1-1.el7.remi.x86_64                                                                                                                          4\/4\r\n\r\nInstalled:\r\n  php.x86_64 0:7.4.1-1.el7.remi\r\n\r\nDependency Installed:\r\n  php-cli.x86_64 0:7.4.1-1.el7.remi                     php-common.x86_64 0:7.4.1-1.el7.remi                     php-json.x86_64 0:7.4.1-1.el7.remi\r\n\r\nComplete!\r\n\r\n<\/code><\/pre>\n<p>\u6a21\u5757\u786e\u8ba4<\/p>\n<pre class=\"post-pre\"><code># httpd -M |grep php\r\n php7_module (shared)\r\n<\/code><\/pre>\n<p>\u4e3a\u4e86\u52a0\u8f7d\u6a21\u5757\uff0c\u91cd\u65b0\u542f\u52a8httpd\u3002<\/p>\n<pre class=\"post-pre\"><code># systemctl restart httpd.service\r\n<\/code><\/pre>\n<p>\u6253\u5f00\u7f51\u9875\u540e\u663e\u793a\u4e86phpinfo\u7684\u5185\u5bb9<\/p>\n<h1>\u6700\u540e<\/h1>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">CentOS7\u3067php7\u3092\u4f7f\u7528\u3059\u308b\u306a\u3089Remi\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u4f7f\u7528\u3059\u308b\u3068\u3044\u3046\u306e\u306f\u77e5\u3063\u3066\u3044\u305f\u304c\u5177\u4f53\u7684\u306b\u3069\u3046\u3084\u308b\u306e\u304b\u77e5\u3089\u306a\u304b\u3063\u305f\u4e8b\u306b\u6c17\u3065\u304b\u3055\u308c\u305f\u3002<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">remi-safe\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u3042\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3069\u3046\u3044\u3063\u305f\u5834\u5408\u306b\u4f7f\u7528\u3059\u308b\u306e\u304b\u8abf\u3079\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3002<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148 \u79c1\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u5168\u304f\u5206\u304b\u3089\u306a\u3044\u4eba\u306a\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u307e\u307e\u3058\u3083\u3060\u3081\u3060\u3068\u601d\u3044php\u3092\u52c9\u5f37\u3057\u3088\u3046\u3068\u601d\u3044\u74b0\u5883\u69cb\u7bc9 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-34758","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>CentOS7\u3067php7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/centos7\u3067php7-4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"CentOS7\u3067php7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71\" \/>\n<meta property=\"og:description\" content=\"\u9996\u5148 \u79c1\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u5168\u304f\u5206\u304b\u3089\u306a\u3044\u4eba\u306a\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u307e\u307e\u3058\u3083\u3060\u3081\u3060\u3068\u601d\u3044php\u3092\u52c9\u5f37\u3057\u3088\u3046\u3068\u601d\u3044\u74b0\u5883\u69cb\u7bc9 [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/centos7\u3067php7-4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-05-10T02:26:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T16:17:53+00:00\" \/>\n<meta name=\"author\" content=\"\u97f5, \u79d1\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u97f5, \u79d1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"26 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/\",\"name\":\"CentOS7\u3067php7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-05-10T02:26:09+00:00\",\"dateModified\":\"2024-05-03T16:17:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"CentOS7\u3067php7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e\",\"name\":\"\u97f5, \u79d1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g\",\"caption\":\"\u97f5, \u79d1\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"CentOS7\u3067php7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/centos7\u3067php7-4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71\/","og_locale":"zh_CN","og_type":"article","og_title":"CentOS7\u3067php7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71","og_description":"\u9996\u5148 \u79c1\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u306f\u5168\u304f\u5206\u304b\u3089\u306a\u3044\u4eba\u306a\u306e\u3067\u3059\u304c\u3001\u3053\u306e\u307e\u307e\u3058\u3083\u3060\u3081\u3060\u3068\u601d\u3044php\u3092\u52c9\u5f37\u3057\u3088\u3046\u3068\u601d\u3044\u74b0\u5883\u69cb\u7bc9 [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/centos7\u3067php7-4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-05-10T02:26:09+00:00","article_modified_time":"2024-05-03T16:17:53+00:00","author":"\u97f5, \u79d1","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u97f5, \u79d1","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"26 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/","name":"CentOS7\u3067php7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-05-10T02:26:09+00:00","dateModified":"2024-05-03T16:17:53+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"CentOS7\u3067php7.4\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u3066\u8e93\u3044\u305f\u8a71"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/6530331a63adef3b3443a1fab53a0e6e","name":"\u97f5, \u79d1","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429ccb39b3fff5188bc17986222cfb0936cbadb8cc933cff04ab5ca01bd30a08?s=96&d=mm&r=g","caption":"\u97f5, \u79d1"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/yunke\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/centos7%e3%81%a7php7-4%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%82%88%e3%81%86%e3%81%a8%e3%81%97%e3%81%a6%e8%ba%93%e3%81%84%e3%81%9f%e8%a9%b1\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34758","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=34758"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34758\/revisions"}],"predecessor-version":[{"id":94968,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/34758\/revisions\/94968"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=34758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=34758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=34758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}