PHP: disregard additional ini files
===

I have a problem with additional php.ini files being loaded.
I specify the configuration directory to use, but I don't want PHP looking in other places and loading other php.ini or modules. As it turns out, /etc/php.d has modules specified that don't exist, so I always get errors when calling functions.

How can I tell PHP to ONLY look in the place I specified by settings my shell's PHPRC or PHPINIDIR in httpd.conf?


    Configuration File (php.ini) Path: /etc
    Loaded Configuration File:         /home/me/php/etc/php.ini
    Scan for additional .ini files in: /etc/php.d
    Additional .ini files parsed:      /etc/php.d/dbase.ini,
    /etc/php.d/mysql.ini,
    /etc/php.d/mysqli.ini,
    /etc/php.d/pdo.ini,
    /etc/php.d/pdo_mysql.ini,
    /etc/php.d/pdo_sqlite.ini

The error I constantly get is interfering with the JSON string I'm returning to calling functions. The error is:

    PHP Warning:  PHP Startup: Unable to load dynamic library     
    '/home/me/usr/lib64/php/modules/dbase.so' - /home/me/usr/lib64/php/modules/dbase.so: 
    cannot open shared object file: No such file or directory in Unknown on line 0

The dbase.so is declared in /etc/php.d, and I can't remove it since we don't have access to system-level settings, and besides, some other user may be relying on the default settings (even tho they are broken).

Thanks.