Skip to content

Migrating to Ubuntu 18.04 and adding PHP 7.4 #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Dec 2, 2019

Conversation

moufmouf
Copy link
Member

@moufmouf moufmouf commented Nov 28, 2019

The base image will not be the PHP official ubuntu image anymore.

Why?

The PHP 7.4 is based in "buster" so I cannot release a v2 with PHP 7.4
We need to upgrade to a v3 on "buster". But the official PHP image as several flaws.

  • it contains pecl + a C++ compiler (which takes some space uselessly)
  • installing an extension is hard. It requires to find all the libraries.

At the opposite, the packaging of extensions is already done pretty well by the Ondrej PPA.
It is useless to do this work twice.

  • Migrate extensions
  • Use phpenmod phpdismod instead of manually using links
  • Install Apache and PHP-FPM and reorginize code to generate Apache and PHP-FPM from CLI images

Closes #149

@moufmouf moufmouf changed the title [WIP] Migrating to Ubuntu 18.04 and adding PHP 7.4 Migrating to Ubuntu 18.04 and adding PHP 7.4 Dec 2, 2019
@moufmouf moufmouf merged commit c2b30de into thecodingmachine:v2 Dec 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP 7.4 images
1 participant