![](/img/trans.png)
[英]Error while installing mongo driver for PHP on amazon linux
[英]Facing issue while installing AWS ClusterClient with PHP 8.1 Amazon Linux 2
我已经创建了 Elastic Beanstalk 环境。
我在 Elastic Beanstalk 环境中部署的 project.ebextensions 文件夹中几乎没有配置文件。
它还包括 memcached.config 文件。 我已尝试根据 AWS 文档下载 Amazon ElastiCache Cluster Client PHP 8.0/8.1
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
但它不存在于 php 8.0/8.1。 所以我使用了 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.