How do I install PHP 7 (PHP next generation) on Ubuntu

前端 未结 9 1956
野性不改
野性不改 2020-12-24 03:27

How do I install PHP 7 (PHP next generation) on Ubuntu?

I wanted to install PHP 7 on a clean install of Ubuntu to see what issues I would face.

Here’s the of

相关标签:
9条回答
  • 2020-12-24 04:04

    On Ubuntu 16

    apt-get update

    apt-get install php libapache2-mod-php php-mcrypt

    this installed php7

    0 讨论(0)
  • 2020-12-24 04:05

    I compiled myself php 7 by following this => http://blog.idojo.co/how-to-setup-a-lamp-stack-with-all-the-latest-softwares/ , the instructions were pretty easy, adjust the configure options to your needs, the default configure options worked fine for me on ubuntu server 14.04....

    The lamp stack includes, Apache 2.4.18 , MySQL 5.7.10 and PHP 7.0.4

    0 讨论(0)
  • 2020-12-24 04:06

    You can use php-build to build and install PHP 7 (and other PHP versions). It can be much easier if you are not familiar with PHP building procedure.

    0 讨论(0)
提交回复
热议问题