我在Ubuntu 16.04服务器上。 我已经安装了apache2,php5,php7,mysql。 然后我以这种方式在Ubuntu 16.04上安装了phpmyadmin:
sudo apt-get update
sudo apt-get install phpmyadmin php-mbstring php-gettext
结果是这样的:
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Hit:4 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
Fetched 325 kB in 0s (343 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
dbconfig-common dbconfig-mysql fontconfig-config fonts-dejavu-core javascript-common libfontconfig1 libgd3 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery libjs-sphinxdoc libjs-underscore libmcrypt4 libtiff5 libwebp6 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxpm4 libxslt1.1 php-gd php-mcrypt php-mysql
php-pear php-phpseclib php-tcpdf php-xml php7.0 php7.0-cli php7.0-common php7.0-fpm php7.0-json php7.0-mcrypt php7.0-opcache php7.0-readline php7.3-common
php7.3-gd php7.3-mbstring php7.3-mysql php7.3-xml
Suggested packages:
libgd-tools libmcrypt-dev mcrypt php-libsodium php-gmp php-imagick www-browser
The following NEW packages will be installed:
dbconfig-common dbconfig-mysql fontconfig-config fonts-dejavu-core javascript-common libfontconfig1 libgd3 libjbig0 libjpeg-turbo8 libjpeg8 libjs-jquery
libjs-sphinxdoc libjs-underscore libmcrypt4 libtiff5 libwebp6 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxpm4 libxslt1.1 php-gd php-gettext
php-mbstring php-mcrypt php-mysql php-pear php-phpseclib php-tcpdf php-xml php7.0-mcrypt php7.3-common php7.3-gd php7.3-mbstring php7.3-mysql php7.3-xml
phpmyadmin
The following packages will be upgraded:
php7.0 php7.0-cli php7.0-common php7.0-fpm php7.0-json php7.0-opcache php7.0-readline
7 upgraded, 39 newly installed, 0 to remove and 13 not upgraded.
Need to get 21.3 MB of archives.
After this operation, 70.7 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libxau6 amd64 1:1.0.8-1 [8,376 B]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libjpeg-turbo8 amd64 1.4.2-0ubuntu3.1 [111 kB]
Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libjbig0 amd64 2.1-3.1+deb.sury.org~xenial+1 [26.4 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libxdmcp6 amd64 1:1.1.2-1.1 [11.0 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libxcb1 amd64 1.11.1-1ubuntu1 [40.0 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libx11-data all 2:1.6.3-1ubuntu2.1 [113 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libx11-6 amd64 2:1.6.3-1ubuntu2.1 [570 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 dbconfig-common all 2.0.4ubuntu1 [582 kB]
Get:9 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libwebp6 amd64 0.6.0-4+ubuntu16.04.1+deb.sury.org+1 [184 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 dbconfig-mysql all 2.0.4ubuntu1 [1,038 B]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 fonts-dejavu-core all 2.35-1 [1,039 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 fontconfig-config all 2.11.94-0ubuntu1.1 [49.9 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 javascript-common all 11 [6,066 B]
Get:14 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfontconfig1 amd64 2.11.94-0ubuntu1.1 [131 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libjpeg8 amd64 8c-2ubuntu8 [2,194 B]
Get:16 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libtiff5 amd64 4.0.6-1ubuntu0.6 [149 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxpm4 amd64 1:3.5.11-1ubuntu0.16.04.1 [33.8 kB]
Get:18 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libjs-jquery all 1.11.3+dfsg-4 [161 kB]
Get:19 http://us.archive.ubuntu.com/ubuntu xenial/main amd64 libjs-underscore all 1.7.0~dfsg-1ubuntu1 [46.7 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libjs-sphinxdoc all 1.3.6-2ubuntu1.2 [57.8 kB]
Get:21 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 libmcrypt4 amd64 2.5.8-3.3 [63.0 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxslt1.1 amd64 1.1.28-2.1ubuntu0.2 [146 kB]
Get:23 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 php-mcrypt all 1:7.0+35ubuntu6.1 [1,934 B]
Get:24 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 php-phpseclib all 2.0.1-1build1 [173 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 php-tcpdf all 6.0.093+dfsg-1ubuntu1 [7,881 kB]
Get:26 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 libgd3 amd64 2.2.5-5.1+ubuntu16.04.1+deb.sury.org+1 [133 kB]
Get:27 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 phpmyadmin all 4:4.5.4.1-2ubuntu2.1 [3,946 kB]
Get:28 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.3-common amd64 7.3.5-1+ubuntu16.04.1+deb.sury.org+1 [935 kB]
Get:29 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.3-gd amd64 7.3.5-1+ubuntu16.04.1+deb.sury.org+1 [26.4 kB]
Get:30 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-gd all 2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3 [6,004 B]
Get:31 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0-json amd64 7.0.33-7+ubuntu16.04.1+deb.sury.org+1 [16.9 kB]
Get:32 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0-opcache amd64 7.0.33-7+ubuntu16.04.1+deb.sury.org+1 [77.3 kB]
Get:33 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0-fpm amd64 7.0.33-7+ubuntu16.04.1+deb.sury.org+1 [1,289 kB]
Get:34 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0-readline amd64 7.0.33-7+ubuntu16.04.1+deb.sury.org+1 [12.8 kB]
Get:35 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0 all 7.0.33-7+ubuntu16.04.1+deb.sury.org+1 [55.9 kB]
Get:36 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0-cli amd64 7.0.33-7+ubuntu16.04.1+deb.sury.org+1 [1,282 kB]
Get:37 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0-common amd64 7.0.33-7+ubuntu16.04.1+deb.sury.org+1 [894 kB]
Get:38 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.3-xml amd64 7.3.5-1+ubuntu16.04.1+deb.sury.org+1 [103 kB]
Get:39 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-xml all 2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3 [6,028 B]
Get:40 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-pear all 1:1.10.8+submodules+notgz-1+ubuntu16.04.1+deb.sury.org+1 [287 kB]
Get:41 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-gettext all 1.0.11-2+deb.sury.org~xenial+1 [15.9 kB]
Get:42 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.3-mbstring amd64 7.3.5-1+ubuntu16.04.1+deb.sury.org+1 [508 kB]
Get:43 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-mbstring all 2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3 [6,020 B]
Get:44 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.0-mcrypt amd64 7.0.33-7+ubuntu16.04.1+deb.sury.org+1 [14.5 kB]
Get:45 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php7.3-mysql amd64 7.3.5-1+ubuntu16.04.1+deb.sury.org+1 [116 kB]
Get:46 http://ppa.launchpad.net/ondrej/php/ubuntu xenial/main amd64 php-mysql all 2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3 [6,008 B]
Fetched 21.3 MB in 13s (1,553 kB/s)
Extracting templates from packages: 100%
Preconfiguring packages ...
Selecting previously unselected package libxau6:amd64.
(Reading database ... 43832 files and directories currently installed.)
Preparing to unpack .../libxau6_1%3a1.0.8-1_amd64.deb ...
Unpacking libxau6:amd64 (1:1.0.8-1) ...
Selecting previously unselected package libjpeg-turbo8:amd64.
Preparing to unpack .../libjpeg-turbo8_1.4.2-0ubuntu3.1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.1) ...
Selecting previously unselected package libxdmcp6:amd64.
Preparing to unpack .../libxdmcp6_1%3a1.1.2-1.1_amd64.deb ...
Unpacking libxdmcp6:amd64 (1:1.1.2-1.1) ...
Selecting previously unselected package libxcb1:amd64.
Preparing to unpack .../libxcb1_1.11.1-1ubuntu1_amd64.deb ...
Unpacking libxcb1:amd64 (1.11.1-1ubuntu1) ...
Selecting previously unselected package libx11-data.
Preparing to unpack .../libx11-data_2%3a1.6.3-1ubuntu2.1_all.deb ...
Unpacking libx11-data (2:1.6.3-1ubuntu2.1) ...
Selecting previously unselected package libx11-6:amd64.
Preparing to unpack .../libx11-6_2%3a1.6.3-1ubuntu2.1_amd64.deb ...
Unpacking libx11-6:amd64 (2:1.6.3-1ubuntu2.1) ...
Selecting previously unselected package dbconfig-common.
Preparing to unpack .../dbconfig-common_2.0.4ubuntu1_all.deb ...
Unpacking dbconfig-common (2.0.4ubuntu1) ...
Selecting previously unselected package dbconfig-mysql.
Preparing to unpack .../dbconfig-mysql_2.0.4ubuntu1_all.deb ...
Unpacking dbconfig-mysql (2.0.4ubuntu1) ...
Selecting previously unselected package fonts-dejavu-core.
Preparing to unpack .../fonts-dejavu-core_2.35-1_all.deb ...
Unpacking fonts-dejavu-core (2.35-1) ...
Selecting previously unselected package fontconfig-config.
Preparing to unpack .../fontconfig-config_2.11.94-0ubuntu1.1_all.deb ...
Unpacking fontconfig-config (2.11.94-0ubuntu1.1) ...
Selecting previously unselected package javascript-common.
Preparing to unpack .../javascript-common_11_all.deb ...
Unpacking javascript-common (11) ...
Selecting previously unselected package libfontconfig1:amd64.
Preparing to unpack .../libfontconfig1_2.11.94-0ubuntu1.1_amd64.deb ...
Unpacking libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...
Selecting previously unselected package libjpeg8:amd64.
Preparing to unpack .../libjpeg8_8c-2ubuntu8_amd64.deb ...
Unpacking libjpeg8:amd64 (8c-2ubuntu8) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../libjbig0_2.1-3.1+deb.sury.org~xenial+1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1+deb.sury.org~xenial+1) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../libtiff5_4.0.6-1ubuntu0.6_amd64.deb ...
Unpacking libtiff5:amd64 (4.0.6-1ubuntu0.6) ...
Selecting previously unselected package libwebp6:amd64.
Preparing to unpack .../libwebp6_0.6.0-4+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking libwebp6:amd64 (0.6.0-4+ubuntu16.04.1+deb.sury.org+1) ...
Selecting previously unselected package libxpm4:amd64.
Preparing to unpack .../libxpm4_1%3a3.5.11-1ubuntu0.16.04.1_amd64.deb ...
Unpacking libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../libgd3_2.2.5-5.1+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking libgd3:amd64 (2.2.5-5.1+ubuntu16.04.1+deb.sury.org+1) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../libjs-jquery_1.11.3+dfsg-4_all.deb ...
Unpacking libjs-jquery (1.11.3+dfsg-4) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../libjs-underscore_1.7.0~dfsg-1ubuntu1_all.deb ...
Unpacking libjs-underscore (1.7.0~dfsg-1ubuntu1) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../libjs-sphinxdoc_1.3.6-2ubuntu1.2_all.deb ...
Unpacking libjs-sphinxdoc (1.3.6-2ubuntu1.2) ...
Selecting previously unselected package libmcrypt4.
Preparing to unpack .../libmcrypt4_2.5.8-3.3_amd64.deb ...
Unpacking libmcrypt4 (2.5.8-3.3) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../libxslt1.1_1.1.28-2.1ubuntu0.2_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.28-2.1ubuntu0.2) ...
Selecting previously unselected package php7.3-common.
Preparing to unpack .../php7.3-common_7.3.5-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.3-common (7.3.5-1+ubuntu16.04.1+deb.sury.org+1) ...
Selecting previously unselected package php7.3-gd.
Preparing to unpack .../php7.3-gd_7.3.5- 1+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.3-gd (7.3.5-1+ubuntu16.04.1+deb.sury.org+1) ...
Selecting previously unselected package php-gd.
Preparing to unpack .../php-gd_2%3a7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3_all.deb ...
Unpacking php-gd (2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3) ...
Preparing to unpack .../php7.0-json_7.0.33-7+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.0-json (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) over (7.0.33-0ubuntu0.16.04.4) ...
Preparing to unpack .../php7.0-opcache_7.0.33-7+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.0-opcache (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) over (7.0.33-0ubuntu0.16.04.4) ...
Preparing to unpack .../php7.0-fpm_7.0.33-7+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.0-fpm (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) over (7.0.33-0ubuntu0.16.04.4) ...
Preparing to unpack .../php7.0-readline_7.0.33-7+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.0-readline (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) over (7.0.33-0ubuntu0.16.04.4) ...
Preparing to unpack .../php7.0_7.0.33-7+ubuntu16.04.1+deb.sury.org+1_all.deb ...
Unpacking php7.0 (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) over (7.0.33-0ubuntu0.16.04.4) ...
Preparing to unpack .../php7.0-cli_7.0.33-7+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.0-cli (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) over (7.0.33-0ubuntu0.16.04.4) ...
Preparing to unpack .../php7.0-common_7.0.33-7+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.0-common (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) over (7.0.33-0ubuntu0.16.04.4) ...
Selecting previously unselected package php7.3-xml.
Preparing to unpack .../php7.3-xml_7.3.5-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.3-xml (7.3.5-1+ubuntu16.04.1+deb.sury.org+1) ...
Selecting previously unselected package php-xml.
Preparing to unpack .../php-xml_2%3a7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3_all.deb ...
Unpacking php-xml (2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3) ...
Selecting previously unselected package php-pear.
Preparing to unpack .../php-pear_1%3a1.10.8+submodules+notgz-1+ubuntu16.04.1+deb.sury.org+1_all.deb ...
Unpacking php-pear (1:1.10.8+submodules+notgz-1+ubuntu16.04.1+deb.sury.org+1) ...
Selecting previously unselected package php-gettext.
Preparing to unpack .../php-gettext_1.0.11-2+deb.sury.org~xenial+1_all.deb ...
Unpacking php-gettext (1.0.11-2+deb.sury.org~xenial+1) ...
Selecting previously unselected package php7.3-mbstring.
Preparing to unpack .../php7.3-mbstring_7.3.5-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.3-mbstring (7.3.5-1+ubuntu16.04.1+deb.sury.org+1) ...
Selecting previously unselected package php-mbstring.
Preparing to unpack .../php-mbstring_2%3a7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3_all.deb ...
Unpacking php-mbstring (2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3) ...
Selecting previously unselected package php7.0-mcrypt.
Preparing to unpack .../php7.0-mcrypt_7.0.33-7+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.0-mcrypt (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) ...
Selecting previously unselected package php-mcrypt.
Preparing to unpack .../php-mcrypt_1%3a7.0+35ubuntu6.1_all.deb ...
Unpacking php-mcrypt (1:7.0+35ubuntu6.1) ...
Selecting previously unselected package php7.3-mysql.
Preparing to unpack .../php7.3-mysql_7.3.5-1+ubuntu16.04.1+deb.sury.org+1_amd64.deb ...
Unpacking php7.3-mysql (7.3.5-1+ubuntu16.04.1+deb.sury.org+1) ...
Selecting previously unselected package php-mysql.
Preparing to unpack .../php-mysql_2%3a7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3_all.deb ...
Unpacking php-mysql (2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3) ...
Selecting previously unselected package php-phpseclib.
Preparing to unpack .../php-phpseclib_2.0.1-1build1_all.deb ...
Unpacking php-phpseclib (2.0.1-1build1) ...
Selecting previously unselected package php-tcpdf.
Preparing to unpack .../php-tcpdf_6.0.093+dfsg-1ubuntu1_all.deb ...
Unpacking php-tcpdf (6.0.093+dfsg-1ubuntu1) ...
Selecting previously unselected package phpmyadmin.
Preparing to unpack .../phpmyadmin_4%3a4.5.4.1-2ubuntu2.1_all.deb ...
Unpacking phpmyadmin (4:4.5.4.1-2ubuntu2.1) ...
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19.1) ...
Processing triggers for systemd (229-4ubuntu21.21) ...
Setting up libxau6:amd64 (1:1.0.8-1) ...
Setting up libjpeg-turbo8:amd64 (1.4.2-0ubuntu3.1) ...
Setting up libxdmcp6:amd64 (1:1.1.2-1.1) ...
Setting up libxcb1:amd64 (1.11.1-1ubuntu1) ...
Setting up libx11-data (2:1.6.3-1ubuntu2.1) ...
Setting up libx11-6:amd64 (2:1.6.3-1ubuntu2.1) ...
Setting up dbconfig-common (2.0.4ubuntu1) ...
Creating config file /etc/dbconfig-common/config with new version
Setting up dbconfig-mysql (2.0.4ubuntu1) ...
Setting up fonts-dejavu-core (2.35-1) ...
Setting up fontconfig-config (2.11.94-0ubuntu1.1) ...
Setting up javascript-common (11) ...
apache2_invoke: Enable configuration javascript-common
Setting up libfontconfig1:amd64 (2.11.94-0ubuntu1.1) ...
Setting up libjpeg8:amd64 (8c-2ubuntu8) ...
Setting up libjbig0:amd64 (2.1-3.1+deb.sury.org~xenial+1) ...
Setting up libtiff5:amd64 (4.0.6-1ubuntu0.6) ...
Setting up libwebp6:amd64 (0.6.0-4+ubuntu16.04.1+deb.sury.org+1) ...
Setting up libxpm4:amd64 (1:3.5.11-1ubuntu0.16.04.1) ...
Setting up libgd3:amd64 (2.2.5-5.1+ubuntu16.04.1+deb.sury.org+1) ...
Setting up libjs-jquery (1.11.3+dfsg-4) ...
Setting up libjs-underscore (1.7.0~dfsg-1ubuntu1) ...
Setting up libjs-sphinxdoc (1.3.6-2ubuntu1.2) ...
Setting up libmcrypt4 (2.5.8-3.3) ...
Setting up libxslt1.1:amd64 (1.1.28-2.1ubuntu0.2) ...
Setting up php7.3-common (7.3.5-1+ubuntu16.04.1+deb.sury.org+1) ...
Creating config file /etc/php/7.3/mods-available/calendar.ini with new version
Creating config file /etc/php/7.3/mods-available/ctype.ini with new version
Creating config file /etc/php/7.3/mods-available/exif.ini with new version
Creating config file /etc/php/7.3/mods-available/fileinfo.ini with new version
Creating config file /etc/php/7.3/mods-available/ftp.ini with new version
Creating config file /etc/php/7.3/mods-available/gettext.ini with new version
Creating config file /etc/php/7.3/mods-available/iconv.ini with new version
Creating config file /etc/php/7.3/mods-available/pdo.ini with new version
Creating config file /etc/php/7.3/mods-available/phar.ini with new version
Creating config file /etc/php/7.3/mods-available/posix.ini with new version
Creating config file /etc/php/7.3/mods-available/shmop.ini with new version
Creating config file /etc/php/7.3/mods-available/sockets.ini with new version
Creating config file /etc/php/7.3/mods-available/sysvmsg.ini with new version
Creating config file /etc/php/7.3/mods-available/sysvsem.ini with new version
Creating config file /etc/php/7.3/mods-available/sysvshm.ini with new version
Creating config file /etc/php/7.3/mods-available/tokenizer.ini with new version
Setting up php7.3-gd (7.3.5-1+ubuntu16.04.1+deb.sury.org+1) ...
Creating config file /etc/php/7.3/mods-available/gd.ini with new version
Setting up php-gd (2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3) ...
Setting up php7.0-common (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) ...
Setting up php7.0-json (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) ...
Setting up php7.0-opcache (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) ...
Setting up php7.0-readline (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) ...
Setting up php7.0-cli (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) ...
Replacing config file /etc/php/7.0/cli/php.ini with new version
Setting up php7.0-fpm (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) ...
Installing new version of config file /etc/apache2/conf- available/php7.0-fpm.conf ...
Installing new version of config file /etc/init.d/php7.0-fpm ...
Installing new version of config file /etc/init/php7.0-fpm.conf ...
NOTICE: Not enabling PHP 7.0 FPM by default.
NOTICE: To enable PHP 7.0 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.0-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
Setting up php7.0 (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) ...
Setting up php7.3-xml (7.3.5-1+ubuntu16.04.1+deb.sury.org+1) ...
Creating config file /etc/php/7.3/mods-available/dom.ini with new version
Creating config file /etc/php/7.3/mods-available/simplexml.ini with new version
Creating config file /etc/php/7.3/mods-available/wddx.ini with new version
Creating config file /etc/php/7.3/mods-available/xml.ini with new version
Creating config file /etc/php/7.3/mods-available/xmlreader.ini with new version
Creating config file /etc/php/7.3/mods-available/xmlwriter.ini with new version
Creating config file /etc/php/7.3/mods-available/xsl.ini with new version
Setting up php-xml (2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3) ...
Setting up php-pear (1:1.10.8+submodules+notgz-1+ubuntu16.04.1+deb.sury.org+1) ...
Setting up php-gettext (1.0.11-2+deb.sury.org~xenial+1) ...
Setting up php7.3-mbstring (7.3.5-1+ubuntu16.04.1+deb.sury.org+1) ...
Creating config file /etc/php/7.3/mods-available/mbstring.ini with new version
Setting up php-mbstring (2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3) ...
Setting up php7.0-mcrypt (7.0.33-7+ubuntu16.04.1+deb.sury.org+1) ...
Creating config file /etc/php/7.0/mods-available/mcrypt.ini with new version
Setting up php-mcrypt (1:7.0+35ubuntu6.1) ...
Setting up php7.3-mysql (7.3.5-1+ubuntu16.04.1+deb.sury.org+1) ...
Creating config file /etc/php/7.3/mods-available/mysqlnd.ini with new version
Creating config file /etc/php/7.3/mods-available/mysqli.ini with new version
Creating config file /etc/php/7.3/mods-available/pdo_mysql.ini with new version
Setting up php-mysql (2:7.3+69+ubuntu16.04.1+deb.sury.org+2+php7.3) ...
Setting up php-phpseclib (2.0.1-1build1) ...
Setting up php-tcpdf (6.0.093+dfsg-1ubuntu1) ...
Setting up phpmyadmin (4:4.5.4.1-2ubuntu2.1) ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf
Creating config file /etc/dbconfig-common/phpmyadmin.conf with new version
Creating config file /etc/phpmyadmin/config-db.php with new version
granting access to database phpmyadmin for phpmyadmin@localhost: success.
verifying access for phpmyadmin@localhost: success.
creating database phpmyadmin: success.
verifying database phpmyadmin exists: success.
populating database via sql... done.
dbconfig-common: flushing administrative password
Processing triggers for libc-bin (2.23-0ubuntu11) ...
Processing triggers for ureadahead (0.100.0-19.1) ...
Processing triggers for systemd (229-4ubuntu21.21) ...
Processing triggers for php7.0-fpm (7.0.33- 7+ubuntu16.04.1+deb.sury.org+1) ...
NOTICE: Not enabling PHP 7.0 FPM by default.
NOTICE: To enable PHP 7.0 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.0-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
但是您可以看到它仅在PHP7上有效,我没有使用。 而且如果我写http://domain/phpmyadmin,则找不到该页面。
如何为PHP5配置它? 附言我没有启用jet ssl(HTTPS)。
认为更简单...
答案 0 :(得分:0)