mcrypt扩展从PHP7.1.0
开始废弃,所以需要继续使用这个扩展的话需要自行编译mcrypt扩展 或者采用pcel安装。
yum install libmcrypt libmcrypt-devel mcrypt mhash
wget http://pecl.php.net/get/mcrypt-1.0.1.tgz
tar xf mcrypt-1.0.1.tgz
cd mcrypt-1.0.1
/www/server/php/73/bin/phpize
./configure --with-php-config=/www/server/php/73/bin/php-config
make && make install
安装执行成功后,在 宝塔面板-软件管理-PHP7.3设置-配置文件 的最底部,
添加一行:extension=mcrypt.so
之后重启服务器的PHP服务即可完成mcrypt扩展的安装。
最新的包:
http://pecl.php.net/package/mcrypt
微信公众号
手机浏览(小程序)
Warning: get_headers(): SSL operation failed with code 1. OpenSSL Error messages:
error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(): Failed to enable crypto in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57
Warning: get_headers(https://static.shanhubei.com/qrcode/qrcode_viewid_2452.jpg): failed to open stream: operation failed in
/mydata/web/wwwshanhubei/web/wp-content/themes/shanhuke/single.php on line
57