sudo apt-get install php5-mysqlnd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
dbconfig-common php5 php5-fpm php5-pgsql wwwconfig-common
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
php5-pgsql
The following packages will be REMOVED:
php5-mysql postfixadmin
The following NEW packages will be installed:
php5-mysqlnd php5-pgsql
0 upgraded, 2 newly installed, 2 to remove and 5 not upgraded.
Need to get 186 kB of archives.
After this operation, 1,858 kB disk space will be freed.
Do you want to continue? [Y/n] n
我不想删除 postfixadmin。如何在不使用 apt-get 删除 postfixadmin 的情况下安装 mysqlnd(以使 PHP 和 MariaDB 兼容)?
谢谢!
答案1
postfixadmin
取决于php5-pgsql
要删除的内容。请确保您也保留了它;然后一切就应该正常了。