Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 347618

Summary: Additional PHP .ini files not parsed
Product: z_Archived Reporter: Andy Pillip <andy.pillip>
Component: PDTAssignee: PHP Core <php.core-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: kubo, zulus
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=324073
https://bugs.eclipse.org/bugs/show_bug.cgi?id=339547
Whiteboard:

Description Andy Pillip CLA 2011-05-30 05:52:58 EDT
Build Identifier: 20110301-1815

On Linux systems with some packaging system (so all Linux systems) there often are several configuration files for one software, on Debian/Ubuntu mostly in conf.d directories.

Eclipse PDT doesn't take care of those so called additional .ini files.

This leads to modules being not loaded, and impossible debugging, since xDebug is also a module not being loaded.

A normal php -i on the command line gives:
Scan this dir for additional .ini files => /etc/php5/cli/conf.d

While the execution of phpinfo() from eclipse gives:
Additional .ini files parsed => (none)

There's two bugs mentioning this problem, but neither is really pointing out this problem: 324073 and 339547.

Reproducible: Always

Steps to Reproduce:
1. Create a new PHP executable without specifying a .ini file
2. Create a PHP file calling phpinfo();
3. Run or debug and check the output for ''Scan this dir for additional .ini files''

1. Run ''php -i | grep additional'' on command line
2. Compare the result
Comment 1 Jerico Dev CLA 2011-06-15 07:11:25 EDT
This is a duplicate of 339547, see the discussion there.
Comment 2 Dawid Pakula CLA 2014-02-17 01:28:30 EST

*** This bug has been marked as a duplicate of bug 339547 ***