PHP 环境开启 openssl

按照阿里云方式开启 开启openssl

PHP 环境开启 openssl

也参考了:不抛弃不放弃

PHP 环境开启 openssl


cd /usr/lib64/openssl

执行:/usr/bin/phpize

出错了Can't find PHP headers in /usr/include/php

The php-devel package is required for use of this command.

安装:yum install php56w-devel


cd /usr/lib64/openssl

执行:/usr/bin/phpize

出错了:Cannot find config.m4.

Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

执行:mv config0.m4 config.m4

还是出错了mv: cannot stat ‘config0.m4’: No such file or directory

目前还没解决