我正在尝试安装 cURL,然后php-curl
在 Ubuntu 18.04 上安装,但是当我这样做时它会删除 Apache。
$ sudo apt install libcurl4 curl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
apache2-data libbrotli1 libonig2 libqdbm14 libssl1.0.2 php5-cli php5-json php5-readline
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
php7.2-fpm php7.4-fpm
The following packages will be REMOVED:
apache2 apache2-bin libapache2-mod-php5 libapache2-mod-php7.2 libapache2-mod-php7.4 libcurl3 php5
The following NEW packages will be installed:
curl libcurl4 php7.2-fpm php7.4-fpm
0 upgraded, 4 newly installed, 7 to remove and 12 not upgraded.
Need to get 3,191 kB of archives.
After this operation, 14.1 MB disk space will be freed.
Do you want to continue? [Y/n] y
我在这里做错了什么?