简体   繁体   English

Zend开发人员工具Bluemix ZF2抛出错误500

[英]Zend Developer Tools Bluemix ZF2 throwing error 500

Have a question about zdt module . 有关于zdt module的问题。 So I have looked at the documentation for Doctrine and ZF2 (also Marco Pivetti tutorial ), that's when I find out about zdt, and all is working like a charm on localhost , but when I transfer the project to IBM bluemix server, the module ZendDeveloperTools is throwing server error 500 (know that because when I comment this name in modules in application.config file it's working ok, but without the zdt). 因此,我查看了Doctrine和ZF2的文档(也包括Marco Pivetti教程),那时我才了解zdt,并且一切都在localhost ,但是当我将项目转移到IBM bluemix服务器时,模块ZendDeveloperTools正在引发服务器错误500 (请注意,因为当我在application.config文件的模块中注释此名称时,它工作正常,但没有zdt)。

I have installed it all via composer, and copy to autoload files, and all that is said in tutorials, but it's not working. 我已经通过composer安装了所有文件,并复制到自动加载文件中,所有内容在教程中都已说明,但无法正常工作。 Does anyone had this kind of problem on IBM's bluemix server ? 在IBM的bluemix服务器上是否有人遇到过此类问题? I'm using the cloudfoundry/php buildpack with most of the modules enabled. 我正在使用启用了大多数模块的cloudfoundry/php buildpack。 Haven't worked with zdt so don't know where the problem might be. 尚未与zdt合作,因此不知道问题可能在哪里。

Looked everywhere (even here in SO) but can't find the proper answer to my solution. 到处都看了(即使在SO中也是如此),但是找不到我的解决方案的正确答案。

Any help would be much appreciated :) 任何帮助将非常感激 :)

according to what you specified in your comments, the error 500 is related to the DB Connection config you are using in Doctrine ORM: your config is using PDO_MYSQL driver and it is not available by default on PHP runtime in Bluemix (you have to specify in composer.json dependencies if you want to use it in PHP runtime on Bluemix) 根据您在注释中指定的内容,错误500与您在Doctrine ORM中使用的DB Connection配置有关:您的配置使用PDO_MYSQL驱动程序,并且默认情况下在Bluemix的PHP运行时上它不可用(您必须在composer.json依赖项(如果您想在Bluemix上的PHP运行时中使用它)

Regarding what you are looking for in your following comments, Doctrine 2 supports NoSQL ODM on MongoDB and CouchDB Here you can find all the documentation for Doctrine ODM over MongoDB 关于您在以下注释中寻找的内容,Doctrine 2在MongoDB和CouchDB上支持NoSQL ODM在这里您可以找到MongoDB上的Doctrine ODM的所有文档。

http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/ http://docs.doctrine-project.org/projects/doctrine-mongodb-odm/en/latest/

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

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