Solved

Invalid access to memory location.

Posted on 2011-09-28
3
768 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
DLL in ASP.NET 20 75
logs for inetpub time stamps are off 1 26
IIS 8 works fine locally but not over the network 2 32
HTTPSendRequest with WinINet delays on first call 11 42
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

828 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