Call to undefined function gmp_import()
如果PHP配置文件中没有加载gmp扩展,则在使用gmp相关函数时就会报错。 PHP中打开gmp扩展方法: Windows 找到PHP配置文件,删除注释。 extension=gmp 其它系统 sudo apt install php7.0-…
如果PHP配置文件中没有加载gmp扩展,则在使用gmp相关函数时就会报错。 PHP中打开gmp扩展方法: Windows 找到PHP配置文件,删除注释。 extension=gmp 其它系统 sudo apt install php7.0-…
PHP支付代码报错: cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libc…
二维码解析扩展库报错: 致命错误: Class ‘Zxing\Qrcode\Decoder\Decoder’ not found 这个库在Windows上不会出问题,一旦用Linux服务器就会报错,原因在于Linux服务器区分大小写,导致对…
php连接MySQL8报错: SQLSTATE[HY000] [2054] The server requested authentication method unknown to the client 解决办法: 修改MySQL配置文件…
使用模型向数据库添加数据时,竟然报错了 fields not exists:[settle_type] 添加数据代码如下: $result = ProjectSettleType::create($v,true); 通过检查数据库表,发现这…
完整错误如下: fileatime(): open_basedir restriction in effect. File(/www/wwwroot/fan_directory/fan_article) is not within the …
如果上传的文件太大,PHP可能会报如下错误: 413 Request Entity Too Large 可以通过修改php配置文件,调整以下几个参数 max_execution_time = 30 // 最大执行时间,30秒 upload_…
CentOS报以下错误: Invalid configuration value: failovermethod=priority in /etc/yum.repos.d/CentOS-epel.repo; Configuration: O…
CentOS更新时报错: CentOS Linux 8 – AppStream 73 B/s | 38 B 00:00 Error: Failed to download metadata for repo ‘appstream’: Can…