Advertisement
Guest User

Untitled

a guest
Feb 7th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.69 KB | None | 0 0
  1. $ php -v
  2. PHP 7.3.1-3+ubuntu18.04.1+deb.sury.org+2 (cli) (built: Feb 5 2019 12:10:30) ( NTS )
  3. Copyright (c) 1997-2018 The PHP Group
  4. Zend Engine v3.3.1, Copyright (c) 1998-2018 Zend Technologies
  5. with Zend OPcache v7.3.1-3+ubuntu18.04.1+deb.sury.org+2, Copyright (c) 1999-2018, by Zend Technologies
  6.  
  7. $ php -a
  8. Interactive mode enabled
  9.  
  10. php > echo date_default_timezone_get();
  11. America/New_York
  12. php > echo strftime('%F %T %z %Z');
  13. 2019-02-07 20:31:35 -0500 EST
  14.  
  15. $ sudo apt install libapache2-mod-php7.3
  16. Reading package lists... Done
  17. Building dependency tree
  18. Reading state information... Done
  19. The following additional packages will be installed:
  20. php7.3-bcmath php7.3-cli php7.3-common php7.3-curl php7.3-gd php7.3-gmp php7.3-json php7.3-ldap php7.3-mbstring php7.3-opcache
  21. php7.3-pgsql php7.3-readline php7.3-xml
  22. Suggested packages:
  23. php-pear
  24. The following packages will be upgraded:
  25. libapache2-mod-php7.3 php7.3-bcmath php7.3-cli php7.3-common php7.3-curl php7.3-gd php7.3-gmp php7.3-json php7.3-ldap
  26. php7.3-mbstring php7.3-opcache php7.3-pgsql php7.3-readline php7.3-xml
  27. 14 upgraded, 0 newly installed, 0 to remove and 272 not upgraded.
  28. Need to get 4,654 kB of archives.
  29. After this operation, 141 kB of additional disk space will be used.
  30. Do you want to continue? [Y/n]
  31. Get:1 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-mbstring amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [508 kB]
  32. Get:2 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-gmp amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [20.9 kB]
  33. Get:3 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-ldap amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [27.9 kB]
  34. Get:4 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-readline amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [12.0 kB]
  35. Get:5 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-bcmath amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [15.0 kB]
  36. Get:6 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-gd amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [26.9 kB]
  37. Get:7 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-xml amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [106 kB]
  38. Get:8 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-opcache amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [181 kB]
  39. Get:9 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-curl amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [29.6 kB]
  40. Get:10 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-pgsql amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [55.6 kB]
  41. Get:11 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-json amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [18.4 kB]
  42. Get:12 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-cli amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [1,375 kB]
  43. Get:13 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 libapache2-mod-php7.3 amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [1,320 kB]
  44. Get:14 http://ppa.launchpad.net/ondrej/php/ubuntu bionic/main amd64 php7.3-common amd64 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 [957 kB]
  45. Fetched 4,654 kB in 9s (521 kB/s)
  46. (Reading database ... 103192 files and directories currently installed.)
  47. Preparing to unpack .../00-php7.3-mbstring_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  48. Unpacking php7.3-mbstring (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  49. Preparing to unpack .../01-php7.3-gmp_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  50. Unpacking php7.3-gmp (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  51. Preparing to unpack .../02-php7.3-ldap_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  52. Unpacking php7.3-ldap (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  53. Preparing to unpack .../03-php7.3-readline_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  54. Unpacking php7.3-readline (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  55. Preparing to unpack .../04-php7.3-bcmath_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  56. Unpacking php7.3-bcmath (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  57. Preparing to unpack .../05-php7.3-gd_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  58. Unpacking php7.3-gd (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  59. Preparing to unpack .../06-php7.3-xml_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  60. Unpacking php7.3-xml (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  61. Preparing to unpack .../07-php7.3-opcache_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  62. Unpacking php7.3-opcache (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  63. Preparing to unpack .../08-php7.3-curl_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  64. Unpacking php7.3-curl (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  65. Preparing to unpack .../09-php7.3-pgsql_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  66. Unpacking php7.3-pgsql (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  67. Preparing to unpack .../10-php7.3-json_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  68. Unpacking php7.3-json (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  69. Preparing to unpack .../11-php7.3-cli_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  70. Unpacking php7.3-cli (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  71. Preparing to unpack .../12-libapache2-mod-php7.3_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  72. Unpacking libapache2-mod-php7.3 (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  73. Preparing to unpack .../13-php7.3-common_7.3.2-1+ubuntu18.04.1+deb.sury.org+1_amd64.deb ...
  74. Unpacking php7.3-common (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) over (7.3.1-3+ubuntu18.04.1+deb.sury.org+2) ...
  75. Setting up php7.3-common (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  76. Setting up php7.3-pgsql (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  77. Setting up php7.3-curl (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  78. Setting up php7.3-opcache (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  79. Setting up php7.3-xml (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  80. Setting up php7.3-gd (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  81. Setting up php7.3-bcmath (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  82. Processing triggers for man-db (2.8.3-2) ...
  83. Setting up php7.3-readline (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  84. Setting up php7.3-ldap (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  85. Setting up php7.3-gmp (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  86. Setting up php7.3-mbstring (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  87. Setting up php7.3-json (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  88. Setting up php7.3-cli (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  89. Replacing config file /etc/php/7.3/cli/php.ini with new version
  90. Setting up libapache2-mod-php7.3 (7.3.2-1+ubuntu18.04.1+deb.sury.org+1) ...
  91. libapache2-mod-php7.3: not switching MPM - already enabled
  92.  
  93. $ php -v
  94. PHP 7.3.2-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: Feb 7 2019 18:01:56) ( NTS )
  95. Copyright (c) 1997-2018 The PHP Group
  96. Zend Engine v3.3.2, Copyright (c) 1998-2018 Zend Technologies
  97. with Zend OPcache v7.3.2-1+ubuntu18.04.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
  98.  
  99. $ php -a
  100. Interactive mode enabled
  101.  
  102. php > echo date_default_timezone_get();
  103. America/New_York
  104. php > echo strftime('%F %T %z %Z');
  105. 2019-02-08 01:36:41 +0000 GMT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement