Solved

Invalid access to memory location.

Posted on 2011-09-28
3
756 Views
Last Modified: 2012-08-14
Hi everyone,

I have 2 web applications running on a server,
1. Frontend application which draws the php extension from C:\php434\sapi\php4isapi.dll (uses version 4.3.4)
2  Backend application c:\php432\sapi\phpisapi.dll. (uses version 4.3.2)

In IIS, I have added web service extensions for both phpisapi.dll and set to Allowed.
The Frontend application works fine but the backend application gives the error "Invalid access to memory location."

Both have different php.ini file locations:
1.  Frontend C:\php434\php.ini
2.  Backend C:\windows\php.ini

I am confused as to why the backend is having this error. Appreciate any advice. Thank you.

0
Comment
Question by:cq27
  • 2
3 Comments
 
LVL 25

Expert Comment

by:kevp75
ID: 36814293
what I would recommend is upgrading both to the latest PHP build (which is up to version 5)

and then make sure the ISAPI filter section of IIS admin for the .php extension is pointing to the correct isapi.dll for it.
0
 

Accepted Solution

by:
cq27 earned 0 total points
ID: 36814942
Hi everyone,

I found the answer to this question I posed after testing out a few rounds.

Both versions of PHP were using ISAPI and as such, they were sharing the same memory allocation, which caused a clash and crashed both applications.

The solution was to enter into IIS and separate the two under different application pools. This allowed each version to manage their own memory allocations and thus no further conflicts.
0
 

Author Closing Comment

by:cq27
ID: 36908410
I found out the reason on my own after consulting various associates.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question