How to restart apache

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

Re: How to restart apache

Postby JonB » 16. August 2010 16:44

and that alone caused the weird XAMPP control panel problem, produced the error


I have a thought - save the current php.ini by renaming, or whatever you prefer. Re-introduce the default php.ini from the XAMPP DL. IF the problem goes away - bingo - you know what's wrong.

I can think of a situation that would cause the exact thing we see - an "include" statement from a non-XAMPP php extension that assumes the default location (The Apache Software Foundation's installation) for Apache and MySQL. :shock:

You can use a tool like WinMerge to compare them line by line (Indeed your whoel install if you chose). Then re-introduce any changes you made that won't cause problems. 8)

http://winmerge.org/

Good Luck

:mrgreen:
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: How to restart apache

Postby horseatingweeds » 17. August 2010 11:59

So, should there be a php.ini-default in the xampp/php directory? I've got php.ini, php.ini-dist, and php.ini-recommended. dist and recommended look similar to each other, but are very different from php.ini. And I know I didn't make all those changes. The only changes I made to this php.ini - or any php.ini for that mater, is to disable register globals, enable mbstring extension, and increase memory limit. I also made some changes to enable xdebug, which caused or allowed me to notice the control panel problem, but have since reverted back to a copy I made just prior.

Is there a fresh php.ini downloadable anywhere handy? I still have the original installer.exe I used a year ago, but I don't remember what exactly it did. I'm tempted to run it in a temp folder somewhere and get a fresh php.ini file that way. But I don't want to cause more problems by letting an install file fool with something. Also, does the install process edit the php.ini?

Thanks
horseatingweeds
 
Posts: 20
Joined: 10. September 2009 03:17

Previous

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 90 guests