Re: Which versions of Apache will PHP 5.3.6 work with??

Re: Which versions of Apache will PHP 5.3.6 work with??

am 25.03.2011 20:12:50 von Tommy Pham

On Fri, Mar 25, 2011 at 10:52 AM, Curtis Tammany w=
rote:
> Help!! I am in a Windows environment (XP SP3 for development and Server 2=
003
> for production. I have to upgrade to PHP 5.3.6. It does not appear to wor=
k
> with either Apache 2.2.11 or the new 2.2.17 from Apache Lounge. Apache wi=
ll
> run by itself but when PHP is installed, it adds:
>
> #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
> PHPIniDir "C:\Program Files\PHP536\"
> LoadModule php5_module "C:\Program Files\PHP536\php5apache2_2.dll"
> #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
>
> Restarting Apache causes the following:
>
> httpd.exe - Application Error : The instruction at "0x0096c1bf" reference=
d
> memory at "0x100058a8". The memory could not be "written".
>
> Thanks in advance,
>
> Curtis
>
>
>

Curtis,

IIRC, you can't run VC9 (Visual Studio 2008) binary with VC6 binary
smoothly, which I believe where you got the official binary
distributions, PHP and httpd, respectively. Here's the info from [1].

There used to be a VC6 binary release for PHP v5.3.3 at
windows.php.net but I don't see a VC6 build for v5.3 now. Any way,
since you're using using Windows, why not just run it as FastCGI? It
runs fine on Win2003 (x86), Win7 x64, Win08 (x86 & x64), and Win08r2.
Are using a specific Apache module that's why you need to use httpd?
If so, you could use the (non official) Apache Lounge's binary.

"The windows binary is build with original sources from ASF (
http://httpd.apache.org ) and contains the latest patches. It is build
with the latest Windows® Platform SDK and Visual Studio C++ 2008 aka
VC9, which have improvements in areas like Performance,
MemoryManagement and Stability over the .msi binary from the ASF site
which is build with VC6. LoadRunner (Load Testing Software Suite)
shows that there are improvements in performance using Apache built
with VC 2008. That performance gain can be affected by numerous
factors (use of scripting language such as Perl, PHP, Python, etcâ€=A6a=
s
well as the actual scripts themselves). LoadRunner testing does show a
marked improvement for Apache compiled under VC 2008 in stability
under rigorous condition.

Minimum system required: Windows 7, Windows Server 2008 R2, Windows
Vista, Windows Server 2008, Windows XPSP3 and Windows Server 2003 R2."

Regards,
Tommy

[1] http://www.apachelounge.com/download/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php