- Newest
- Most votes
- Most comments
This isn't a complete answer (only AWS can fix that in php). But, there may be a work-around for you. The php 8.0 in Beanstalk does have GD and FreeType included:
php -i | grep -E "GD|FreeType"
GD Support => enabled
GD Version => bundled (2.1.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.8.0
I posted a comment 5 days ago that php 8.1 was also missing "pcntl" support. It had been supported in prior php versions in Beanstalk. Looks like the AWS team significantly changed the php options in 8.1. I never saw any docs about these breaking changes.
+1
We also need AWS to add this flag added to next version of PHP 8.1 in EB. Doesn't seem possible to replace the bundled GD so I'm having to recompile all of PHP when deploying (which of course isn't efficient)
Many thanks!
Looks like AWS fixed this in Beanstalk platform v3.4.1
php --version
PHP 8.1.9 (cli) (built: Aug 23 2022 21:25:19) (ZTS)
php -i | grep -E "GD|FreeType"
GD Support => enabled
GD Version => bundled (2.1.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.8.0
PS: They also added my "pcntl" support I mentioned was missing
Wow! They actually fixed it. I see it enabled on mine which auto-updated. Thank you, AWS!
Relevant content
- asked 2 years ago
- asked 3 years ago
- Accepted Answerasked 6 months ago
- asked 5 years ago
- AWS OFFICIALUpdated 4 days ago
- AWS OFFICIALUpdated 5 months ago