php7.2

Discussion in 'Tips/Tricks/Mods' started by ahrasis, Dec 7, 2017.

  1. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    I intend to test php 7.2 and I believe the following should do the installation on my ubuntu 16.04 server:
    Code:
    apt-get -y install php7.2-opcache php7.2-fpm php7.2 php7.2-common php7.2-gd php7.2-mysql php7.2-imap php7.2-cli php7.2-cgi php7.2-curl php7.2-intl php7.2-pspell php7.2-recode php7.2-sqlite3 php7.2-tidy php7.2-xmlrpc php7.2-xsl php7.2-zip php7.2-mbstring
     
  2. durchd8.de

    durchd8.de Member

    Already updated here to php 7.2 after testing. Thigns I learned:
    - noticeable speed increase - depending on the app ofc
    - some deprecated functions can get on ones nerves - in the case of WP I suggest to patch WP installations to current levels. Some older WP-installations wont allow logins leading to white screens
    - magento doesnt like php 7.2 (mostly due to ironcube missing)
    - ...
     
  3. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    There is ioncube beta for php7.2. In my Ubuntu 16.04 server I install it as follows:
    Code:
    sudo wget https://www.ioncube.com/php-7.2.0-beta-loaders/ioncube_loaders_lin_x86-64_BETA.tar.gz
    sudo tar xzf ioncube_loaders_lin_x86-64_BETA.tar.gz
    sudo cp ioncube_loader_lin_7.2_10.1.0_beta.so /usr/lib/php/20170718/ioncube_loader_lin_7.2.so
    sudo sed -i '1 i\zend_extension=/usr/lib/php/20170718/ioncube_loader_lin_7.2.so' /etc/php/7.2/fpm/php.ini
    sudo service php7.2-fpm restart
    
     

Share This Page