Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
339 views
in Technique[技术] by (71.8m points)

在linux下PHP7.2如何正确连接达梦8数据库。

我在安装达梦8数据库后。将drivers对应php驱动文件放到了php对应的扩展目录下。并且在php.ini文件中做了相应的修改。但是程序上提示找不到对应的方法。
image
image
image
image
image
image
麻烦各位大佬帮我看看是哪里没对吗?感激不尽


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

重启 php-fpm 了没? 执行下 php -m 看下这两个拓展有没有加载进去,如果没进去,看下 php.ini 里的 error_log 配置在哪里,看下 error_log 里记录的错误信息.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...