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,008
  • 5
  • 34
  • 52
  • 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
  • 298,938
  • 77
  • 579
  • 623
Electronick
  • 1,123
  • 8
  • 15