84669 personnes étudient
152542 personnes étudient
20005 personnes étudient
5487 personnes étudient
7821 personnes étudient
359900 personnes étudient
3350 personnes étudient
180660 personnes étudient
48569 personnes étudient
18603 personnes étudient
40936 personnes étudient
1549 personnes étudient
1183 personnes étudient
32909 personnes étudient
网上说的都是缺少 openssl-dev,但是我确实安装了啊。php openssl扩展也有了,依然是这个错。。求各路大神帮忙看下,在此先谢过!
报错代码
php加载的扩展
pkg也加载了openssl
欢迎选择我的课程,让我们一起见证您的进步~~
如果是centosyun install openssl-devel -y执行了吗?
yun install openssl-devel -y
你可以看下phpinfo里面有没有?
最终从新编译了一遍php搞定了。附上第二次编译的编译参数:
./configure --prefix=/usr/local/php56 --with-config-file-path=/usr/local/php56/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-mysql-sock=/tmp/mysql.sock --with-gd --with-iconv --with-zlib --enable-xml --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curlwrappers --enable-mbregex --enable-fpm --enable-mbstring --enable-ftp --enable-gd-native-ttf --with-openssl --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --with-pear --with-gettext --enable-session --with-mcrypt --with-curl
如果是centos
yun install openssl-devel -y
执行了吗?你可以看下phpinfo里面有没有?
最终从新编译了一遍php搞定了。附上第二次编译的编译参数: