How to install php extension for tidy html on a beanstalk with amazon linux 2?
I have tried the following
commands:
1-aml-extras-epel:
command: "amazon-linux-extras install epel -y"
2-epel:
command: "yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm -y"
3-yum-clean:
command: "yum clean all"
4-tidy-php:
command: "yum install php74-php-tidy.x86_64 -y"
All of the commands run correctly but I get the following error at runtime of php scripts:
Class 'tidy' not found
You cannot pull a single package/extension from "remi" repository, you must take the full stack from the same repository.
For a proper configuration, simply follow the Wizard instructions.