# Pastebin kgKE2FQO kinghat@kinghat-server:~$ sudo apt remove apache2-bin libapache2-mod-php7.2 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: golang-docker-credential-helpers libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap liblua5.2-0 libsecret-1-0 libsecret-common python-asn1crypto python-backports.ssl-match-hostname python-cached-property python-certifi python-cffi-backend python-chardet python-cryptography python-docker python-dockerpty python-dockerpycreds python-docopt python-enum34 python-funcsigs python-functools32 python-idna python-ipaddress python-jsonschema python-mock python-openssl python-pbr python-pkg-resources python-requests python-six python-texttable python-urllib3 python-websocket python-yaml ssl-cert Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: php7.2-fpm Suggested packages: php-pear The following packages will be REMOVED: apache2-bin libapache2-mod-php7.2 The following NEW packages will be installed: php7.2-fpm 0 upgraded, 1 newly installed, 2 to remove and 1 not upgraded. Need to get 1,409 kB of archives. After this operation, 3,942 kB disk space will be freed. Do you want to continue? [Y/n] y Get:1 http://us.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 php7.2-fpm amd64 7.2.10-0ubuntu0.18.04.1 [1,409 kB] Fetched 1,409 kB in 1s (2,151 kB/s) Selecting previously unselected package php7.2-fpm. (Reading database ... 112868 files and directories currently installed.) Preparing to unpack .../php7.2-fpm_7.2.10-0ubuntu0.18.04.1_amd64.deb ... Unpacking php7.2-fpm (7.2.10-0ubuntu0.18.04.1) ... dpkg: libapache2-mod-php7.2: dependency problems, but removing anyway as you requested: php7.2 depends on libapache2-mod-php7.2 | php7.2-fpm | php7.2-cgi; however: Package libapache2-mod-php7.2 is to be removed. Package php7.2-fpm is not configured yet. Package php7.2-cgi is not installed. (Reading database ... 112892 files and directories currently installed.) Removing libapache2-mod-php7.2 (7.2.10-0ubuntu0.18.04.1) ... Removing apache2-bin (2.4.29-1ubuntu4.5) ... dpkg: warning: while removing apache2-bin, directory '/var/lib/apache2' not empty so not removed Setting up php7.2-fpm (7.2.10-0ubuntu0.18.04.1) ... Creating config file /etc/php/7.2/fpm/php.ini with new version php_invoke: Enabled module exif for fpm sapi php_invoke: Enabled module iconv for fpm sapi php_invoke: Enabled module ftp for fpm sapi php_invoke: Enabled module calendar for fpm sapi php_invoke: Enabled module phar for fpm sapi php_invoke: Enabled module gettext for fpm sapi php_invoke: Enabled module sqlite3 for fpm sapi php_invoke: Enabled module posix for fpm sapi php_invoke: Enabled module opcache for fpm sapi php_invoke: Enabled module mysqlnd for fpm sapi php_invoke: Enabled module shmop for fpm sapi php_invoke: Enabled module pdo for fpm sapi php_invoke: Enabled module sysvsem for fpm sapi php_invoke: Enabled module json for fpm sapi php_invoke: Enabled module sockets for fpm sapi php_invoke: Enabled module fileinfo for fpm sapi php_invoke: Enabled module pdo_mysql for fpm sapi php_invoke: Enabled module gd for fpm sapi php_invoke: Enabled module pdo_sqlite for fpm sapi php_invoke: Enabled module tokenizer for fpm sapi php_invoke: Enabled module mysqli for fpm sapi php_invoke: Enabled module sysvmsg for fpm sapi php_invoke: Enabled module readline for fpm sapi php_invoke: Enabled module sysvshm for fpm sapi php_invoke: Enabled module ctype for fpm sapi Created symlink /etc/systemd/system/multi-user.target.wants/php7.2-fpm.service → /lib/systemd/system/php7.2-fpm.service. Processing triggers for ureadahead (0.100.0-20) ... ureadahead will be reprofiled on next reboot Processing triggers for systemd (237-3ubuntu10.11) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ...