安装php (openssl)扩展

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_38287952/article/details/83412926

1、cd /home/tmp/php7.2/ext/openssl

2、/usr/local/php7.2/bin/phpize

3、报错:Cannot find config.m4. 

4、cp ./config0.mp4  ./config.mp4

5、如果报错第4步错误的话在执行一次  /usr/local/php7.2/bin/phpize 生成 configure 文件

6、make

7、make install

8、在php.ini文件中加入 extension = openssl

猜你喜欢

转载自blog.csdn.net/qq_38287952/article/details/83412926