0

If I want to install default PHP7 what's the package name in apt-get?

Looking at the package list all I see is php5 and various php-xxxx packages.

interstar
  • 253

1 Answers1

2

php7.0 and a pile of php7.0-* packages are available for 16.04-onwards. Obviously the version might change for future releases, but that's the current nomenclature.

Earlier releases of Ubuntu don't have these. You'd have to compile them yourself or find a PPA. Ondřej supports all the way back to 12.04 Precise but this comes with the standard warnings and pitfalls surrounding PPAs.

Oli
  • 293,335