[root@localhost session]#
[root@localhost session]# php -i|grep Client
IMAP c-Client Version => 2007f
Client API library version => 5.6.49
Client API header version => 5.5.65-MariaDB
Client API version => 5.6.49
Soap Client => enabled
[root@localhost session]# service php-fpm stop
Redirecting to /bin/systemctl stop php-fpm.service
Failed to stop php-fpm.service: Unit php-fpm.service not loaded.
[root@localhost session]# ps -ef | grep php
root 3982 1894 0 13:15 pts/0 00:00:00 grep --color=auto php
[root@localhost session]# service php-fpm stop
Redirecting to /bin/systemctl stop php-fpm.service
Failed to stop php-fpm.service: Unit php-fpm.service not loaded.
[root@localhost session]# ps -ef | grep fpm
root 4020 1894 0 13:17 pts/0 00:00:00 grep --color=auto fpm
[root@localhost session]#
[root@localhost session]#
[root@localhost session]# ps -ef | grep fpm
root 4022 1894 0 13:17 pts/0 00:00:00 grep --color=auto fpm
[root@localhost session]# yum remove php72w-mysql
Loaded plugins: fastestmirror, langpacks
Resolving Dependencies
--> Running transaction check
---> Package php72w-mysql.x86_64 0:7.2.34-1.w7 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================
Removing:
php72w-mysql x86_64 7.2.34-1.w7 @webtatic 350 k
Transaction Summary
============================================================================================================================================================================================
Remove 1 Package
Installed size: 350 k
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : php72w-mysql-7.2.34-1.w7.x86_64 1/1
Verifying : php72w-mysql-7.2.34-1.w7.x86_64 1/1
Removed:
php72w-mysql.x86_64 0:7.2.34-1.w7
Complete!
[root@localhost session]# yum install php72w-mysqlnd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.huaweicloud.com
* epel: ftp.iij.ad.jp
* extras: mirrors.huaweicloud.com
* updates: mirrors.huaweicloud.com
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php72w-mysqlnd.x86_64 0:7.2.34-1.w7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
============================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================
Installing:
php72w-mysqlnd x86_64 7.2.34-1.w7 webtatic 198 k
Transaction Summary
============================================================================================================================================================================================
Install 1 Package
Total download size: 198 k
Installed size: 858 k
Is this ok [y/d/N]: y
Downloading packages:
php72w-mysqlnd-7.2.34-1.w7.x86_64.rpm | 198 kB 00:00:08
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : php72w-mysqlnd-7.2.34-1.w7.x86_64 1/1
Verifying : php72w-mysqlnd-7.2.34-1.w7.x86_64 1/1
Installed:
php72w-mysqlnd.x86_64 0:7.2.34-1.w7
Complete!
[root@localhost session]# php -i|grep Client
IMAP c-Client Version => 2007f
Client API library version => mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $
Client API version => mysqlnd 5.0.12-dev - 20150407 - $Id: 3591daad22de08524295e1bd073aceeff11e6579 $
Soap Client => enabled
[root@localhost session]# systemctl restart mysqld
[root@localhost session]# service httpd restart
Redirecting to /bin/systemctl restart httpd.service
[root@localhost session]#