安装openssl扩展

cp config0.m4 config.m4

/usr/local/php/bin/phpize

./configure --with-php-config=/usr/local/php/bin/php-config

遇见问题

configure: error: Cannot find OpenSSL’s <evp.h>

解决

yum install openssl openssl-devel

make

make install

cd /usr/local/php/lib/php/extensions/no-debug-zts-20121212/

cp openssl.so ../

在php.ini 中添加

extension=openssl.so

相关文章:

  • 2021-10-26
  • 2021-09-07
  • 2022-01-21
  • 2021-08-11
猜你喜欢
  • 2021-09-06
  • 2022-12-23
  • 2021-08-24
  • 2022-01-15
  • 2021-09-28
  • 2021-10-04
相关资源
相似解决方案