0

My system is Windows 7 x86. Im going to install Apache 2.4.2 VC10 from Apache Lounge and it requires Visual C++ 2010:

Be sure that you have installed the Visual C++ 2010 SP1 Redistributable Package x86.

While PHP 5.4.4 VC9 x86 Thread Safe (as stated on PHP for Windows page) requires Visual C++ 2008:

The VC9 versions require you to have the Microsoft 2008 C++ Runtime (x86) or the Microsoft 2008 C++ Runtime (x64) installed.

Seems i have to install both. Can PHP work only with Visual C++ 2010 SP1?

2 Answers 2

1

The page you are referring to (Apache Lounge) clearly says that it will work:

Note: a VC10 binary loads VC10 and VC9 modules.

...

Works with the PHP 5.4, 5.3 and 5.2 handlers (php5apache2_4.dll) below and the binaries from windows.php.net

0

As opposite to what ApacheLounge tells, it seems necessary to install both Visual C++ 2008 SP1 (for PHP VC9) and Visual C++ 2010 SP1 (For Apache VC10).

Then, it works like a charm, but without doing this, there is a 'side-by-side' problem loading the PHP module. But I admit I wonder if it would not just be better to run all 'suite' using VC9, instead of mixing VC9/VC10.

1
  • Because Apache Lounge does not seem to provide a VC9 version of FastCGI
    – Reuben
    Oct 14, 2013 at 4:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .