Enabling Code Insight for extensions |
Guru master
|
If you change your project Target PHP Version to 5.3, you should find Code Insight will work for Mongo.
Alternatively, download Mongo from http://www.mongodb.org/downloads and ensure it is referenced by your project and even if your own code cannot use it because it not loaded at runtime, PhpED will still use it for Code Insight. |
||||||||||||
|
|
Thanks for your help, but could you please clarify what I have to do when you say "ensure it is referenced by your project"? I am not sure how to do that.
Cheers, Alfred |
||||||||||||
|
Guru master
|
Not having used Mongo myself, I didn't realise it didn't come with a PHP stub file.
I can create stub files but I don't currently have Mongo installed. I've just done a search and found someone who has done a stub file http://creative-territory.net/post/view/id/44/ If you download and extract the PHP file that is listed on that forum page and put it anywhere in your project, PhpED will reference it. At runtime that file should not be included and then the binary extension will be used. |
||||||||||||
|
Enabling Code Insight for extensions |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by