php如何安装openssl拓展

2024-12-16 02:04:01

1、进入openssl的扩展目录,我的目录是:/home/vagrant/php-7.4.2/ext/openssl

php如何安装openssl拓展

3、运行phpize,我的命令是:/usr/local/php/bin/phpize提示:Cannot find autoconf

php如何安装openssl拓展php如何安装openssl拓展

6、执行下面命令:yum install openssl openssl-devel

php如何安装openssl拓展php如何安装openssl拓展

9、因为我的php是apache模块化安装,所以需要重启apache:/usr/local/httpd/bin/apachectl restart

php如何安装openssl拓展
猜你喜欢