NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
How to set Test Suite php.ini file


Joined: 15 Apr 2013
Posts: 2
Reply with quote
Nusphere 9.0 (build 9035)
Project setting set to Run mode (3rd party WEB server)

Everytihing work good when calling function from loaded extension in my server php.ini file.
When running test suite for the same class however, I got an exception like PDO Driver not found.

I added a phpinfo() call in my test to check if the extension was loaded and found that the php ini file loaded from the test was:
Loaded Configuration File => C:\Program Files (x86)\NuSphere\PhpED\php54\php.ini
instread of my server php.ini file.

Is there a way to tell PHPed to use my php file in test suite too?

Thank you.
View user's profileFind all posts by jfrondeauSend private message


Joined: 15 Apr 2013
Posts: 2
Reply with quote
Find th e answer:

The included Test Suite use the local CLI setting. I change PHP CLI executable in Settings, Run & Debug to use my server php installation.
View user's profileFind all posts by jfrondeauSend private message
How to set Test Suite php.ini file
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic