Skip to content
This repository has been archived by the owner on Sep 8, 2021. It is now read-only.

[PHP 7.3] fixed issue with installing remi repo and added missing PHP extensions #39

Merged
merged 2 commits into from
May 31, 2019
Merged

[PHP 7.3] fixed issue with installing remi repo and added missing PHP extensions #39

merged 2 commits into from
May 31, 2019

Conversation

titomiguelcosta
Copy link
Contributor

This PR, fixes issue #38

In the end, it was a small fix. When building the php73.zip there were errors in installing remi repo, and it all came down to the order we installed epel and remi, reverting those instructions fixed the problem.

In term of adding the missing extensions required by Symfony 4, I only had to add php-xml and php-process to the list of php packages to be installed.

I tested and deployed the generated layer. phpinfo can be seen here (this page will be deleted once we merge this PR).

Side note: I did not explore, but I wonder why do we need to install httpd as part of building the image?! In my case, I'm using API Gateway to handle the requests and fire the lambda. I might be missing something but I do not think we need apache.

@titomiguelcosta
Copy link
Contributor Author

To test my PR, just change to my branch and run $ make php73.zip
Done on a Linux Mint 19.1 box with docker 18.09.6, build 481bc77

@titomiguelcosta titomiguelcosta changed the title fixed issue with installing remi repo and added missing PHP extensions [PHP 7.3] fixed issue with installing remi repo and added missing PHP extensions May 28, 2019
Copy link
Member

@txase txase left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me! Can you also update the readme with the additional extensions this provides in the runtime layer?

🙏

@titomiguelcosta
Copy link
Contributor Author

This looks good to me! Can you also update the readme with the additional extensions this provides in the runtime layer?

@txase sure thing, done. copied the output of the command and put on the README sorted alphabetically

@txase txase merged commit ddc2cf0 into stackery:master May 31, 2019
@txase
Copy link
Member

txase commented May 31, 2019

Thanks!

I’ll look to update the layer in AWS early next week!

@ronald2wing
Copy link

xmlreader still missing

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants