douyalin2258 2019-02-15 09:28
浏览 67

Mongo(不通过浏览器运行)

MongoDB is not giving off any error when trying to run through the browser, gives a 500 internal server error.

Things I have tried:

  • checking php modules to make sure its running, and it is.
  • checked to see if it ran internal from within the server command line
  • "php myfile.php" and it works

Server has a domain name using an SSL, so its https:

I have tried catching the error but that also does no good tried couple of ways with no luck.

Finally caught an error which makes no sense since the new Mongo driver is loaded, as it works when I run the file directly from console as apose to browser

'MongoDB\Driver\Manager' not found in httpdocs/vendor/mongodb/mongodb/src/Client.php on line 87

enter image description here

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 制裁名单20240508芯片厂商
    • ¥20 易康econgnition精度验证
    • ¥15 msix packaging tool打包问题
    • ¥28 微信小程序开发页面布局没问题,真机调试的时候页面布局就乱了
    • ¥15 python的qt5界面
    • ¥15 无线电能传输系统MATLAB仿真问题
    • ¥50 如何用脚本实现输入法的热键设置
    • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
    • ¥30 深度学习,前后端连接
    • ¥15 孟德尔随机化结果不一致