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

前端 未结 9 1958
野性不改
野性不改 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:01

    I see other users are posting binaries but if you want to compile it yourself try auto-apt.

    For compiling any application from source you can use auto-apt. It's not a well known tool but it helps a lot for compiling applications with lots of external libraries.

    Auto-apt creates a driven checking of the configure script and detects which packages the configure.sh script it's looking for, and it allows you to install they if you want the feature the script it's looking at that moment.

    sudo apt-get install auto-apt
    sudo auto-apt update
    sudo auto-apt updatedb && sudo auto-apt update-local
    sudo auto-apt run ./configure
    

    More info: https://help.ubuntu.com/community/AutoApt

提交回复
热议问题