Articles Tagged eclipse
Although Windows systems seem to load all PHP 5 variables & extensions from a single php.ini file, there might be system configurations -especially Linux systems (Ubuntu in my case)- that use multiple .ini files. In such systems, PHP configuration is usually located inside the /etc/php5 directory: When running in cli mode,
/etc/php5/cli/php.inigets loaded along with all .ini files located in the
/var/php5/cli/conf.ddirectory.. When using Apache,
/etc/php5/apache2/conf.d/*.inifiles are all loaded. The same is true for php-cgi. To load the additional .ini files, either a
PHP_INI_SCAN_DIRenvironmental variable or the
--with-config-file-pathoption can be used. So far so good.
When it comes to Eclipse PDT, it seems that the additional .ini files are not loaded when PHP runs as script...Posted on June 16th, 2011 by Pantelis Petridis