php-windows Digest 7 Jul 2002 11:51:07 -0000 Issue 1228
Topics (messages 14573 through 14576):
Re: Problems installing PHP4 under PWS
14573 by: Christoph Grottolo
PHP Access violation
14574 by: Alexandr Polupanov
PHP on IIS 5.0
14575 by: Alexandr Polupanov
14576 by: Tracker 1
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 ---
Alex Francis wrote:
> I have installed PHP4 under PWS and when I test using the command
> prompt it seems to work alright. However when I try to run a test php
> script through the browser I get the following error:
>
> "Security Alert! PHP CGI cannot be accessed directly.
> This PHP CGI binary was compiled with force-cgi-redirect enabled. This
> means that a page will only be served up if the REDIRECT_STATUS CGI
> variable is set. This variable is set, for example, by Apache's Action
> directive redirect.
>
> I have tried setting cgi.force_redirect=0 and it makes no difference.
>
If you use 4.2.1 try to put a ; behind the base_dir setting in php.ini - it
helped for me (but I really don't know why and others couldn't reproduce
that). Please post if you have success with that.
> I have also installed apache, but am not sure if I need to remove PWS
> to use it.
You don't, but make shure they're not running at the same time on the same
Port (80).
Christoph
--- End Message ---
--- Begin Message ---
i'm using php4isapi.dll on a Windows 2000 Professional with IIS 5.0
When i'm running Server-Side PHP Scripts, all works fine, but when i'm
running them more than approximately 50 times, PHP seems to stop working,
and in my browser i get this:
"PHP has encountered an Access Violation at 010125C0"
or this too:
"PHP has encountered an Access Violation at 0101290E"
Then i need to restart IIS service, to get PHP work again.
Do somebody knows what is the problem, and how to solve it?
Thanks in advance.
--- End Message ---
--- Begin Message ---
i'm using php4isapi.dll on a Windows 2000 Professional.
When i'm running Server-Side PHP Scripts, all works fine, but when i'm
running them more than approximately 50 times, PHP seems to stop working,
and in my browser i get this:
"PHP has encountered an Access Violation at 010125C0"
or this too:
"PHP has encountered an Access Violation at 0101290E"
Then i need to restart IIS service, to get PHP work again.
Do somebody knows what is the problem, and how to solve it?
Thanks in advance.
--- End Message ---
--- Begin Message ---
This *MAY* help isolate the issue...
in Internet Services Manager... for the application/web in question,
you can set the isolation level to "HIGH" which will make each app run
a separate instance of php4isapi.dll ... Beyond this, if most of your
php is in a directory separate from the rest of your content, you can
make THAT folder an "application" and set the isolation level for that
folder.
I've found, once I started setting the isolation level to "high" instead
of "medium" on webs that I have php in it tends to run better for me.
Beyond this, you may have better luck with the cgi install of php, as
opposed to the isapi install... Since each instance runs in separate
memory space.. the isapi version admitidly is less stable than the cgi
version.
--
=======================================================================
Michael J. Ryan - tracker1[*at*]theroughnecks.com
Roughneck BBS: http://www.theroughnecks.net telnet://theroughnecks.net
=======================================================================
Y!: aztracker1 - aim: azTracker1 - icq: 4935386 - msn: see email
One program for aim/icq/yahoo/msn/irc - http://www.trillian.cc/
"Alexandr Polupanov" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i'm using php4isapi.dll on a Windows 2000 Professional.
> When i'm running Server-Side PHP Scripts, all works fine, but when i'm
> running them more than approximately 50 times, PHP seems to stop working,
> and in my browser i get this:
> "PHP has encountered an Access Violation at 010125C0"
> or this too:
> "PHP has encountered an Access Violation at 0101290E"
> Then i need to restart IIS service, to get PHP work again.
>
> Do somebody knows what is the problem, and how to solve it?
> Thanks in advance.
>
>
--- End Message ---