5

I just ran a search for PHP.ini file in my "C:\WAMP" server and gosh! there's so many PHP.ini files!

How do you know which of the ini files are being used by the webpage?

Thanks you for any response

user1034912
  • 2,153
  • 7
  • 38
  • 60
  • 3
    `phpinfo();` knows all. Or, if you're on PHP > 5.2, http://www.php.net/manual/en/function.php-ini-loaded-file.php – rjz May 10 '12 at 05:55

1 Answers1

18

you can find it in phpinfo() output

create file info.php

<?php
phpinfo();

and call it from web server

phpinfo ini file

ThiefMaster
  • 310,957
  • 84
  • 592
  • 636
Electronick
  • 1,122
  • 8
  • 15