Please enable javascript to use this site.
· OpenID
matoken自宅で動いている個人用GNU socialです. Pleroma FE 併用中.

  1. matoken ('s status on Wednesday, 14-Aug-2019 00:20:29 JST matoken matoken
    php5なDebian stretchサーバをphp7に

    $ sudo update-alternatives --config php
    There are 2 choices for the alternative php (providing /usr/bin/php).

    Selection Path Priority Status
    * 0 /usr/bin/php7.0 70 auto mode
    1 /usr/bin/php5 50 manual mode
    2 /usr/bin/php7.0 70 manual mode

    Press <enter> to keep the current choice[*], or type selection number:
    $ sudo a2dismod php5
    $ sudo a2enmod php7.0
    $ systemctl restart apache2

    "Debian stretch で php5 / php7.0 を切り替え – matoken's meme"