 <p>I just realized that if in eclipse i check "<code>use system default php.ini</code>" under <code>window-&gt;preferences-&gt;php-&gt;phpexecutables</code> it will magically work.</p> <p>Does anyone know what is "system default php.ini"?</p> <p>I do a a quick <code>$php --ini</code> and it returns:</p> <pre><code>Configuration File (php.ini) Path: /etc/php5/cli Loaded Configuration File: /etc/php5/cli/php.ini Scan for additional .ini files in: /etc/php5/cli/conf.d Additional .ini files parsed: /etc/php5/cli/conf.d/05-opcache.ini, /etc/php5/cli/conf.d/10-mysqlnd.ini, /etc/php5/cli/conf.d/10-pdo.ini, /etc/php5/cli/conf.d/20-json.ini, /etc/php5/cli/conf.d/20-mysql.ini, /etc/php5/cli/conf.d/20-mysqli.ini, /etc/php5/cli/conf.d/20-pdo_mysql.ini, /etc/php5/cli/conf.d/20-readline.ini </code></pre>