If you need to enable pdo_mysql in the EasyPHP environment, follow the steps below.
Just run php --ini and look for Loaded Configuration File in the output for
the location of php.ini used by your CLI.
solution 2
Unlike phpinfo() it will tell if it didn’t find/use a php.ini at all.
var_dump( get_cfg_var('cfg_file_path') );
And you can simply set the location of the php.ini. You’re using the command line version, so using the -c
parameter you can specify the location for this particular run, e.g.
php -c /home/me/php.ini -f /home/me/test.php