How to find the php.ini file used by the command line?

Posted by Amokrane on Stack Overflow See other posts from Stack Overflow or by Amokrane
Published on 2010-05-01T15:53:00Z Indexed on 2010/05/01 15:57 UTC
Read the original article Hit count: 272

Filed under:
|
|

Hi

I need to enable pdo_mysql in my EasyPhp environment, so I went to php.ini file and uncommented the following line:

extension=php_pdo_mysql.dll

Unfortunately I still have the same problem. I'm using the CLI so I suppose I need to locate the php.ini file used by the CLI. How can I find it?

Thank you

© Stack Overflow or respective owner

Related posts about php

Related posts about easyphp