Solved

Invalid access to memory location.

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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

760 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now