简体   繁体   English

如何解决Go Daddy服务器中的Ajax IM PDO异常错误?

[英]How to solve Ajax IM PDO Exception error in Go Daddy server?

I tried to install ajaxim in godaddy hosting server windows hosting account and when I clicked "install" it says: 我试图在godaddy托管服务器Windows托管帐户中安装ajaxim,当我单击“安装”时,它说:

error: 错误:

Fatal error: Uncaught exception 'PDOException' with message 'couldn't find driver in /.../install.php:332 Stack trace: 致命错误:未捕获的异常“ PDOException”,消息为“在/.../install.php:332中找不到驱动程序”堆栈跟踪:

#0 /.../install.php(332): PDO->__construct('mysql:dbname=rm...', ' rm ', ' Co123 ') #0 /.../install.php(332):PDO-> __ construct('mysql:dbname = rm ...',' rm ',' Co123 ')

#1 {main} thrown in /.../install.php on line 332 #1 {main}在第332行的/.../install.php中抛出

I have no rights to edit php.ini in godaddy, so how can I solve this problem? 我无权在Godaddy中编辑php.ini,那么如何解决此问题?

PHP support is being phased out of AJAX IM. PHP支持已从AJAX IM中逐步淘汰。 I actually work with the guy that created it; 我实际上是和创建它的人一起工作的。 he's converting the platform exclusively to run on Node.js. 他专门将平台转换为可以在Node.js上运行。 In order to take advantage of this, you will need to upgrade your GoDaddy account to a *nix VPS solution and install Node.js. 为了利用此优势,您需要将GoDaddy帐户升级到* nix VPS解决方案并安装Node.js。

I'm talking to the developer right now: GoDaddy doesn't have access to PDO, so you cannot run AJAX IM on their shared hosting platforms. 我现在正在与开发人员交流:GoDaddy无法访问PDO,因此您无法在其共享托管平台上运行AJAX IM。 A better solution would be to use a VPS platform like Linode, which is fully supported. 更好的解决方案是使用完全受支持的VPS平台(如Linode)。

So to sum things up: 所以总结一下:

  • The PHP parts of AJAX IM are no longer supported by the developer and likely won't work. 开发人员不再支持AJAX IM的PHP部分,并且可能无法正常工作。
  • GoDaddy shared hosting isn't compatible with AJAX IM anyway. 无论如何,GoDaddy共享托管与AJAX IM不兼容。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM