php-windows Digest 18 Jan 2004 17:21:45 -0000 Issue 2086

Topics (messages 22598 through 22601):

php4isapi.dll causes instability in memory
        22598 by: Brian
        22600 by: Svensson, B.A.T. (HKG)
        22601 by: John Lim

Re: chmod on win xp
        22599 by: David Tod Sigafoos

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
PHP 4.3.4 Windows Binary  -  No extensions enabled

I have been fighting this battle on a number of servers and finally found
the culprit.

PHP4isapi.dll is constantly causing exceptions that eventually after awhile
cause the HIGH ISOLATED memory websites in IIS 5 to become unstable where it
eventually causes the dllhost.exe (high isolated memory for a website) to
start crashing every 6-12 hours and produce the follow error in Event Viewer
EVENT ID 37
Out of process application '/LM/W3SVC/6/Root' terminated unexpectedly.


I ran a program called IISSTATE to watch the threads and found that with
php4isapi enabled, everytime a PHP script executes, it produces 3 exceptions
(1284.166c): Unknown exception - code 8001010e (first chance)
(1284.10e4): Unknown exception - code 8001010e (first chance)
(1284.10e4): Unknown exception - code 8001010e (first chance)

If I reconfigure IIS to use php.exe, and unload the memory for the site so
that it starts using the new php.exe setting immediately, then the Unknown
Exception message stop being logged by IISState, when I change it back to
use php4isapi.dll, I immediately start receiving these exceptions, 3 at a
time for each time a php script is executed on the server.

Anyone know why php4isapi.dll is doing this?  Its the version that came with
4.3.4 windows binary zip release.

I've reproduced this problem on 3 different webservers.  This has been a
problem even with earlier versions before 4.3.4

A search on google.com for php4isapi.dll problems results in tons of people
having similiar issues with it like this one:

http://groups.google.com/groups?q=php4isapi.dll+problems&hl=en&lr=&ie=UTF-8&oe=UTF-8&scoring=d&selm=bogd2u%2487f%241%40FreeBSD.csie.NCTU.edu.tw&rnum=3

--- End Message ---
--- Begin Message ---
I know that there was some guy recently, about a month ago or so, that
posted a message here about some problems with isapi, and he could "solve"
the problem by configure php to run as an CGI app - just as mentioned in the
google reference you gave. But he also stated - as in your references - that
running phg as CGI did create a performce hit for his application.

I've configured php as a CGI application on win2003 server with IIS6.0, and
in my ingorance about this matter I don't see any direct performace problem
with my apps, but this might be due to that most execution time (>95%) is
spend in the RDBMS it self.

I don't think this information will help you that very much, but it migt be
worthwile to scan the history of this e-mail list to see if you can get any
clues on how to dig further in the mud.


-----Original Message-----
From: Brian
To: [EMAIL PROTECTED]
Sent: 2004-01-18 06:08
Subject: [PHP-WIN] php4isapi.dll causes instability in memory

PHP 4.3.4 Windows Binary  -  No extensions enabled

I have been fighting this battle on a number of servers and finally
found the culprit.

PHP4isapi.dll is constantly causing exceptions that eventually after
awhile cause the HIGH ISOLATED memory websites in IIS 5 to become unstable
where it

--- End Message ---
--- Begin Message ---
Hi,

I can feel your pain. I had this problem too.

The only high performance stable solution for IIS that i know is FastCGI.

See http://php.weblogs.com/fastcgi_with_php_and_iis

John Lim

"Brian" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> PHP 4.3.4 Windows Binary  -  No extensions enabled
>
> I have been fighting this battle on a number of servers and finally found
> the culprit.
>
> PHP4isapi.dll is constantly causing exceptions that eventually after
awhile
> cause the HIGH ISOLATED memory websites in IIS 5 to become unstable where
it
> eventually causes the dllhost.exe (high isolated memory for a website) to
> start crashing every 6-12 hours and produce the follow error in Event
Viewer
> EVENT ID 37
> Out of process application '/LM/W3SVC/6/Root' terminated unexpectedly.
>
>
> I ran a program called IISSTATE to watch the threads and found that with
> php4isapi enabled, everytime a PHP script executes, it produces 3
exceptions
> (1284.166c): Unknown exception - code 8001010e (first chance)
> (1284.10e4): Unknown exception - code 8001010e (first chance)
> (1284.10e4): Unknown exception - code 8001010e (first chance)
>
> If I reconfigure IIS to use php.exe, and unload the memory for the site so
> that it starts using the new php.exe setting immediately, then the Unknown
> Exception message stop being logged by IISState, when I change it back to
> use php4isapi.dll, I immediately start receiving these exceptions, 3 at a
> time for each time a php script is executed on the server.
>
> Anyone know why php4isapi.dll is doing this?  Its the version that came
with
> 4.3.4 windows binary zip release.
>
> I've reproduced this problem on 3 different webservers.  This has been a
> problem even with earlier versions before 4.3.4
>
> A search on google.com for php4isapi.dll problems results in tons of
people
> having similiar issues with it like this one:
>
>
http://groups.google.com/groups?q=php4isapi.dll+problems&hl=en&lr=&ie=UTF-8&oe=UTF-8&scoring=d&selm=bogd2u%2487f%241%40FreeBSD.csie.NCTU.edu.tw&rnum=3

--- End Message ---
--- Begin Message ---
You can set the rights on XP (or any windows os) from the Explorer
window.

RightClick Start
Select Explorer
navigate to the directory you want with the file showing in the right
RightClick the file
Select Properties
select the 'rights' you want


Saturday, January 17, 2004, 8:55:58 PM, you wrote:

m> so I would like to write to file on my local box. 

m> $fp = fopen($filename, "w");
m> fwrite($fp, "whatever");

m> I get a permission error. 


m> I've looked but I don't see how to chmod.

m> It worked on my ISP after CHMOD so it's not the code.

m> using:  windows xp and iis 5

m> -- gil




-- 
DSig                                 `````
David Tod Sigafoos                  ( O O )
                         _______oOOo__( )__oOOo_______

Using 'The Bat' 2.02.3 CE
Using 'OS' Windows XP Service Pack 1

--- End Message ---

Reply via email to