utf8_(en|de)code removed from php7?

后端 未结 7 1403
一整个雨季
一整个雨季 2020-12-01 13:52

I recently switched to PHP 7 on my development server, which has worked just fine - until now.

Since I updated to PHP 7.0.3-10+deb.sury.org~trusty+1 (ea

相关标签:
7条回答
  • 2020-12-01 14:25

    On Ubuntu, you got the following message during the upgrade of PHP7:

    php7.0 (7.0.3-6) unstable; urgency=medium
    
      * Several extensions have been split into separate extension packages:
       - php-dba - Database (dbm-style) Abstraction Layer
       - php-mbstring - Multibyte String
       - php-soap - SOAP
       - php-xml - DOM, SimpleXML, WDDX, XML, XMLReader and XMLWriter
       - php-zip - Zip
      * The new packages are not installed automatically, so you will need to
        install them by hand, if you use the functions in those modules.
      * Most modules that have been builtin before are now included in
        php7.0-common package and they are enabled by default for your
        convenience.  You can disable unneede modules via phpdismod tool.
    
     -- Ondřej Surý <ondrej@debian.org>  Mon, 22 Feb 2016 12:37:09 +0100
    

    so it's one of those packages that's causing the problem. In this case, it's php-xml.

    Note the

    The new packages are not installed automatically

    You can fix that by

    sudo apt-get install php-xml
    sudo apache2ctl graceful
    
    0 讨论(0)
提交回复
热议问题