Page 1 of 1

XAMPP Pulling php.ini from c:\PHP not \XAMPP

PostPosted: 26. January 2009 15:50
by JohnJimenez
Greetings folks,

I am trying to get xampp setup on a thumbdrive. When I use it on a machine that does not have PHP installed already it works fine. The issue comes abnout when I use it on a machine that is already loaded with PHP.

Instead of using the \xampp\apache\bin\php.ini it is loading the "c:\php\php.ini" file.

I did a search of the forum and did not find a matching issue and was hoping that someone else may have had this issue and knows how I can fix it.

Thanks =)
~John Jimenez

Re: XAMPP Pulling php.ini from c:\PHP not \XAMPP

PostPosted: 26. January 2009 15:55
by Wiedmann
You can use the "PHPIniDir"-Directive in "httpd.conf".

Re: XAMPP Pulling php.ini from c:\PHP not \XAMPP

PostPosted: 26. January 2009 23:14
by JohnJimenez
Thank you wiedmann. This worked perfectly.