Clutch
Clutch

Reputation: 7600

For eclipse PDT which php.ini is it picking up for PHP scripts

I can not get the Eclipse PDT to pull in the curl library. If I run it by command line it is fine. From the logs I see that the PHP command that eclipse launches uses a temp PHP.ini file found in /tmp/zend_debug/session9211448873864684697.tmp/php.ini Using phpinfo() I see that curl is not there so I'm assuming that it is not picking up the extra ini files found in conf.d/ How can I get access to the php.ini file eclipse uses. Thanks

Upvotes: 2

Views: 871

Answers (1)

Andy
Andy

Reputation: 6160

This actually is a bug in eclipse, I reported it here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=347618

And a workaround is just to concatenate all your included ini-files into one for eclipse, like suggested here: While I am debugging PHP Script in Eclipse, it doesn't load mysql extension

Hope this helps.

Upvotes: 2

Related Questions