I recently installed XAMPP on Windows 7, and my phpinfo() says it is loading the configuration file from C:\xampp\php\php.ini
There’s no php.ini in my apache\bin directory.
Copying and pasting the file and restarting Apache also didn’t work..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I hate to say this, but read the man! lol. http://php.net/manual/en/configuration.changes.php Configure your apache installation to look for the php.ini file in a specified location http://www.askapache.com/php/custom-phpini-tips-and-tricks.html#path_environment_variable_PHPRC Hopefully you won’t need to recompile your copy to remove a predefined location of the php.ini file.