mysqli 拡張がありません。php の設定をチェックしてみてください。

見たところphp-mysqlっぽいので確認で
yum list installed php*

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.riken.jp
 * extras: ftp.riken.jp
 * updates: ftp.riken.jp
Error: No matching Packages to list

入ってない(´・ω・`)
なければ入れてあげましょう
# yum install php-mysql

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * extras: ftp.iij.ad.jp
 * updates: ftp.iij.ad.jp
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mysql.x86_64 0:5.3.3-14.el6_3 will be installed
--> Processing Dependency: php-pdo for package: php-mysql-5.3.3-14.el6_3.x86_64
--> Running transaction check
---> Package php-pdo.x86_64 0:5.3.3-14.el6_3 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================
 Package             Arch             Version                     Repository         Size
==========================================================================================
Installing:
 php-mysql           x86_64           5.3.3-14.el6_3              updates            79 k
Installing for dependencies:
 php-pdo             x86_64           5.3.3-14.el6_3              updates            73 k

Transaction Summary
==========================================================================================
Install       2 Package(s)

Total download size: 153 k
Installed size: 383 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): php-mysql-5.3.3-14.el6_3.x86_64.rpm                         |  79 kB     00:00
(2/2): php-pdo-5.3.3-14.el6_3.x86_64.rpm                           |  73 kB     00:00
------------------------------------------------------------------------------------------
Total                                                     1.8 MB/s | 153 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : php-pdo-5.3.3-14.el6_3.x86_64                                          1/2
  Installing : php-mysql-5.3.3-14.el6_3.x86_64                                        2/2
  Verifying  : php-mysql-5.3.3-14.el6_3.x86_64                                        1/2
  Verifying  : php-pdo-5.3.3-14.el6_3.x86_64                                          2/2

Installed:
  php-mysql.x86_64 0:5.3.3-14.el6_3

Dependency Installed:
  php-pdo.x86_64 0:5.3.3-14.el6_3

Complete!



できたー

コメント

このブログの人気の投稿

vsftpが起動に失敗するんだ。

Bot用Limechat Script

2020年7月22日 近況報告