[英]Facing issue while installing AWS ClusterClient with PHP 8.1 Amazon Linux 2
I have created Elastic Beanstalk environment.我已经创建了 Elastic Beanstalk 环境。
I have few config files inside my project.ebextensions folder which I had deployed on Elastic Beanstalk environment.我在 Elastic Beanstalk 环境中部署的 project.ebextensions 文件夹中几乎没有配置文件。
It includes memcached.config file as well.它还包括 memcached.config 文件。 I have tried to download Amazon ElastiCache Cluster Client PHP 8.0/8.1 as per AWS docs
我已尝试根据 AWS 文档下载 Amazon ElastiCache Cluster Client PHP 8.0/8.1
https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/Appendix.PHPAutoDiscoverySetup.Installing.html#Appendix.PHPAutoDiscoverySetup.Installing.PHP7x.Ubuntu https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/Appendix.PHPAutoDiscoverySetup.Installing.html#Appendix.PHPAutoDiscoverySetup.Installing.PHP7x.Ubuntu
wget https://elasticache-downloads.s3.amazonaws.com/ClusterClient/PHP-7.4/latest-64bit-X86 --working url
wget https://elasticache-downloads.s3.amazonaws.com/ClusterClient/PHP-8.0/latest-64bit-X86 --not working
but it's doesn't exists for php 8.0/8.1.但它不存在于 php 8.0/8.1。 So I have used PHP 7.4 but getting below deprecation error and memcached extension is not showing under
php -v
所以我使用了 PHP 7.4 但低于弃用错误并且 memcached 扩展未显示在
php -v
下
PHP Warning: PHP Startup: Unable to load dynamic library 'amazon-elasticache-cluster-client.so' (tried: /usr/lib64/php/modules/amazon-elasticache-cluster-client.so (/usr/lib64/php/modules/amazon-elasticache-cluster-client.so: undefined symbol: zend_wrong_callback_deprecated), /usr/lib64/php/modules/amazon-elasticache-cluster-client.so.so (/usr/lib64/php/modules/amazon-elasticache-cluster-client.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 8.0.20 (cli) (built: Jun 23 2022 20:34:07) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.20, Copyright (c) Zend Technologies
with Zend OPcache v8.0.20, Copyright (c), by Zend Technologies
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.