PHP 8 is finally here, and it's time to upgrade our DEV environments to start resolving all those Warnings :)
At Lnk.Bio we use the official AWS A...
For further actions, you may consider blocking this person and/or reporting abuse
Failed in
sodo yum install php80
:Have you added the optional epel repo? You might have other external repo that conflict with higher priority.
when i try to check the version after instalation php8 wasn't found php -v
-bash: /usr/bin/php: No such file or directory
The new binary is php80
This new binary name also means tools like composer will not work. Before you go to install it, you'll need to alias PHP so the environment resolves it:
ln -s /usr/bin/php80 /usr/bin/php
What's the new Apache module?
I don't use the Apache module, which is not the most performing integration.
You can use php80-php-fpm as cgi wrapper, with either apache or nginx.
Not sure about the built-in module
Turns out the new mod_php is php80-php in this repo.
I haven't really been in an environment where a more performant server is needed, until you're just doing a completely different architecture altogether (i.e. microservices).
You wouldn't have any warnings until you remove all the code which is not compatible with PHP 8.
No package php80 available.
how can i fix it
How to Install or enable PHP's mbstring extension????
sudo yum install php80-php-mbstring
More in general, if you do
sudo yum search php80
You will see all available extension/modules
When I run my php file the php code appears written on the screen
How do you configure php8 with apache?