How to use oracle in cakePHP [duplicate]

一曲冷凌霜 提交于 2019-12-13 05:01:48

问题


I use cakephp-2.4.7.

And I get error following message when I’ try to use oracle.

Missing Datasource
Error: Datasource class Oracle could not be found.

And I find an article http://book.cakephp.org/2.0/en/models/datasources.html that cakePHP doesn’t support oracle.

Is there any trick what I can use oracle?


回答1:


CakePHP has stopped supporting Oracle since version 2.x. You should either choose CakePHP 1.3 or some other php framework which supports Oracle.

We can use upper version of cakePHP , just we have to do is to donload oracle parsing file from github and place it in C:\wamp\www\Cakephp\cake\libs\model\datasources\dbo



来源:https://stackoverflow.com/questions/23506993/how-to-use-oracle-in-cakephp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!