Problems with PHP 4.1.2 and COM automation
| From: | Alavi, Ahmad A | Date: | Thu, 28 Mar 2002 20:07:25 +0000 |
| Subject: | Problems with PHP 4.1.2 and COM automation | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-12806@lists.php.net to get a copy of this message | ||
We have an automated COM application that has been working with ASP for years. We are trying to use
it with PHP. We tried it on two machines with the following problems.
1- On both machine we get the following error from php.exe
The instruction at "0xx001301da" referenced memory at "0x782a4a47". The memory
could not be "read".
If we comment out a line that sets a COM object property of type IDispatch (sets it to another
object) or if we include that line and we add another line that gets a property of an object (a
different object) we don't get the error and everything works. We have also installed 4.0.6. If
we copy 4.0.6 php.exe and php4ts.dll over 4.1.2, then everything works.
2- Totally unrelated to first problem, in one of the machines we get the following error even if we
visit a .php file that only has the html tag and does not have any <? and ?>. We don't
have the problem on the other machine and on neither machine if we use 4.0.6.
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The
headers it did return are:
One of the machines have both IIS and Apache loaded. The first problem happens on both IIS and
Apache using 4.1.2. The second problem happens only on one machine and only with IIS and PHP 4.1.2.
PHP 4.0.6 works fine on both machine and with both IIS and Apache.
I am new to PHP.