?
Solved

Invalid access to memory location.

Posted on 2011-09-28
3
Medium Priority
?
827 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Get MySQL database support online, now!

At Percona’s web store you can order your MySQL database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card.

Question has a verified solution.

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

Debug Tools to analyse IIS process: This article focus on taking memory dumps from IIS to determine which code is taking more time and to analyse which calls hangs/causes more CPU usage. To take dumps,download the following. Install1: To st…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

800 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