Asked  7 Months ago    Answers:  5   Viewed   59 times

I had a server running on a Windows XP machine using Apache2 with PHP and MySQL. I've recently upgraded to Windows 7 and have been having trouble getting it to work. Apache works fine and PHP works, but I can't seem to get it to work with a php.ini file.

When I set PHPIniDir to a directory with a php.ini file, the Apache service does NOT start.

When I set PHPIniDir to a directory with NO php.ini file, the Apache service does start.

When I leave out PHPIniDir, the Apache service does not start.

Has anyone found a fix for this problem? Thanks!


PHPIniDir "C:Windows" #works (no php.ini file)

PHPIniDir "C:Program Files (x86)php" #does not work (contains php.ini file)

I enable at most one at any given time.



I had the same problem. I fixed it. Open php.ini file with a notepad or any text editor. Disable all of the extension in php.ini file. Comment extensions by one by, and find out which extension causes the problem.

Saturday, May 29, 2021
answered 7 Months ago

Can I successfully configure Apache/PHP to respond to this request?

Yes. Just use the MultiviewsMatch directive to tell Apache that it can serve .php files regardless of whether their MIME type is compatible with the Accept header:

<Files "*.php">
    MultiviewsMatch Any

From the docs, the effect is as follows:

You may finally allow Any extensions to match, even if mod_mime doesn't recognize the extension.

Saturday, July 31, 2021
answered 4 Months ago

What you have missed is most likely that VC++ programs require a runtime to be installed (unless you link statically, which is not the default) - the error message you show is exactly the one you get if they're not in order.

Try installing the Microsoft Visual C++ 2008 SP1 Redistributable Pack on the XP machine - you will most likely see that your program works with no changes whatsoever.

Saturday, August 14, 2021
answered 4 Months ago

If it is a dedicated server, make sure you have postFix Mail installed (

I faced this error today itself as the SMTP server was not available (i assumed it as there by default, but not)

Wednesday, September 1, 2021
answered 3 Months ago

I found an answer that is to a very similar question, except it involves SVN rather than CVS. The "bug" seems to be that Cisco AnyConnect VPN is not supporting properly IPv6, which is invoked with the newer jre7.

So, adding the following to my eclipse.ini is a fix for my situation:

Sunday, October 3, 2021
answered 2 Months ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :