简体   繁体   中英

How to install php extension for tidy html on a beanstalk with amazon linux 2?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM