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

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

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

Postby JohnJimenez » 26. January 2009 15:50

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
JohnJimenez
 
Posts: 6
Joined: 26. January 2009 15:45

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

Postby Wiedmann » 26. January 2009 15:55

You can use the "PHPIniDir"-Directive in "httpd.conf".
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

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

Postby JohnJimenez » 26. January 2009 23:14

Thank you wiedmann. This worked perfectly.
JohnJimenez
 
Posts: 6
Joined: 26. January 2009 15:45


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 61 guests

cron