I configurated my wampserver and noticed that I have 2 php.ini-files. One in the Apache directory, and one in the php directory. Which one is wampserver using?
Apache uses the one in the Apache directory, or rather Apache2.2.8/bin directory. The one in the PHP directory is used when PHP is run from the command line (CLI).