Is there a way to read a module’s configuration ini file?
For example I installed php-eaccelerator (http://eaccelerator.net) and it put a eaccelerator.ini file in /etc/php.d. My PHP installation wont read this .ini file because the --with-config-file-scan-dir option wasn’t used when compiling PHP. Is there a way to manually specify a path to the ini file somewhere so PHP can read the module’s settings?
This is just a wild guess, but try to add all the directives from eaccelerator.ini to php.ini. First create a
<?php phpinfo(); ?>and check where it’s located.For example, try this:
Another thing you could do is set all the settings on run-time using ini_set(). I am not sure if that works though or how effective that is. 🙂 I am not familiar with eAccelerator to know for sure.