PHP INI file location

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP INI file location

Postby ayrtech » 29. June 2007 15:37

How do I persuade XAMPP's PHP to load its INI file? There are multiple copies of the thing in both php and apache folders; I've seen references on the web variously to all of them being "the" one :-/

It doesn't seem to matter though - I've tried changing them all and it makes *no* difference! I've even tried to put one in the Windows folder - no luck, still gets ignored.

OK, I give up! Anyone know the truth of this, and how I make PHP read my changes to its INI? Without this, XAMPP is gonna be useless to me as I need to load new extensions.

Cheers
C
ayrtech
 
Posts: 2
Joined: 29. June 2007 15:18

Postby Wiedmann » 29. June 2007 15:45

In the output from phpinfo() you can see, which "php.ini" your PHP is using.
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby ayrtech » 29. June 2007 16:01

Thanks; I had seen that but changing that copy didn't make any difference either, hence my ire..

However, I've just realised that PHP's an Apache module in XAMPP, so of course I needed to restart the server to see changes take effect...

:oops:

In my defence, it's been a long day, and I'm used to standalone PHP...

Anyway, maybe it'll help someone else!

Cheers
C
ayrtech
 
Posts: 2
Joined: 29. June 2007 15:18


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 197 guests