Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

php on IIS access violation

1 view
Skip to first unread message

jeff

unread,
Dec 29, 2009, 5:41:31 PM12/29/09
to
I have a client running IIS6 and server 2003, I believe.

I just got this, running any PHP script: PHP has encountered an
Access Violation... This had been working fine.

Any suggestions? I've googled that this is probably a seg fault and a
suggestion to run php as a fast cgi. But what do I know!

Jeff

Jerry Stuckle

unread,
Dec 29, 2009, 7:46:32 PM12/29/09
to

What version of PHP are you using? Did you check bugs.php.net?

An access violation should not occur. If it does, there's a problem in PHP.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstu...@attglobal.net
==================

jeff

unread,
Dec 29, 2009, 10:17:08 PM12/29/09
to
Jerry Stuckle wrote:
> jeff wrote:
>> I have a client running IIS6 and server 2003, I believe.
>>
>> I just got this, running any PHP script: PHP has encountered an
>> Access Violation... This had been working fine.
>>
>> Any suggestions? I've googled that this is probably a seg fault and
>> a suggestion to run php as a fast cgi. But what do I know!
>>
>> Jeff
>
> What version of PHP are you using?

I think 5.2.8 Since it crashes on phpinfo, I'm unsure

Did you check bugs.php.net?

Did now! I don't see a lot of help there though, other than it can
happen.


>
> An access violation should not occur. If it does, there's a problem in
> PHP.

I think so too.

Jeff
>

Jerry Stuckle

unread,
Dec 30, 2009, 4:31:05 AM12/30/09
to

You don't know what version you installed?

You can also find out from the command line with php --version.

Also, ensure you are using the PHP versions of any client libraries,
i.e. if you're using MySQL, ensure you're using the MySQL client library
which comes with PHP, and not the one supplied by MySQL.

"Álvaro G. Vicario"

unread,
Dec 30, 2009, 5:48:22 AM12/30/09
to
El 29/12/2009 23:41, jeff escribi�:

Access violations are normally a bug in PHP itself (or in any of the
auxiliary tools, such as libraries or web server). IIS's error log might
provide further info about what library is crashing.

Sometimes you just upgrade PHP and the issue is gone. Otherwise, you
need to rewrite your code so it doesn't trigger that specific bug.

--
-- http://alvaro.es - �lvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programaci�n web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--

jeff

unread,
Dec 30, 2009, 7:33:32 AM12/30/09
to
Jerry Stuckle wrote:
> jeff wrote:
>> Jerry Stuckle wrote:
>>> jeff wrote:
>>>> I have a client running IIS6 and server 2003, I believe.
>>>>
>>>> I just got this, running any PHP script: PHP has encountered an
>>>> Access Violation... This had been working fine.
>>>>
>>>> Any suggestions? I've googled that this is probably a seg fault
>>>> and a suggestion to run php as a fast cgi. But what do I know!
>>>>
>>>> Jeff
>>>
>>> What version of PHP are you using?
>>
>> I think 5.2.8 Since it crashes on phpinfo, I'm unsure
>>
>> Did you check bugs.php.net?
>>
>> Did now! I don't see a lot of help there though, other than it can
>> happen.
>>>
>>> An access violation should not occur. If it does, there's a problem
>>> in PHP.
>>
>> I think so too.
>>
>> Jeff
>>>
>
> You don't know what version you installed?

Windows NT RACWEBSERV 5.2 build 3790

Running ISAPI, although I don't really know what that means.


>
> You can also find out from the command line with php --version.

No command line for me on this box.

>
> Also, ensure you are using the PHP versions of any client libraries,
> i.e. if you're using MySQL, ensure you're using the MySQL client library
> which comes with PHP, and not the one supplied by MySQL.

OK

Jeff
>

jeff

unread,
Dec 30, 2009, 7:36:37 AM12/30/09
to
�lvaro G. Vicario wrote:
> El 29/12/2009 23:41, jeff escribi�:
>> I have a client running IIS6 and server 2003, I believe.
>>
>> I just got this, running any PHP script: PHP has encountered an Access
>> Violation... This had been working fine.
>>
>> Any suggestions? I've googled that this is probably a seg fault and a
>> suggestion to run php as a fast cgi. But what do I know!
>
> Access violations are normally a bug in PHP itself (or in any of the
> auxiliary tools, such as libraries or web server). IIS's error log might
> provide further info about what library is crashing.

This had all been fine, and everything had been tested more than once.

PHP is back up, I'm assuming a reboot, but I don't know at the moment.


>
> Sometimes you just upgrade PHP and the issue is gone. Otherwise, you
> need to rewrite your code so it doesn't trigger that specific bug.

Jeff
>
>
>

Jerry Stuckle

unread,
Dec 30, 2009, 12:48:09 PM12/30/09
to
jeff wrote:
> Jerry Stuckle wrote:
>> jeff wrote:
>>> Jerry Stuckle wrote:
>>>> jeff wrote:
>>>>> I have a client running IIS6 and server 2003, I believe.
>>>>>
>>>>> I just got this, running any PHP script: PHP has encountered an
>>>>> Access Violation... This had been working fine.
>>>>>
>>>>> Any suggestions? I've googled that this is probably a seg fault
>>>>> and a suggestion to run php as a fast cgi. But what do I know!
>>>>>
>>>>> Jeff
>>>>
>>>> What version of PHP are you using?
>>>
>>> I think 5.2.8 Since it crashes on phpinfo, I'm unsure
>>>
>>> Did you check bugs.php.net?
>>>
>>> Did now! I don't see a lot of help there though, other than it can
>>> happen.
>>>>
>>>> An access violation should not occur. If it does, there's a problem
>>>> in PHP.
>>>
>>> I think so too.
>>>
>>> Jeff
>>>>
>>
>> You don't know what version you installed?
>
> Windows NT RACWEBSERV 5.2 build 3790
>
> Running ISAPI, although I don't really know what that means.

It means you're running as a module under IIS. But it doesn't sway
anything about the version.

>>
>> You can also find out from the command line with php --version.
>
> No command line for me on this box.
>

Why no command line? Windows Server 2003 has a command line (MSDOS) prompt.

>>
>> Also, ensure you are using the PHP versions of any client libraries,
>> i.e. if you're using MySQL, ensure you're using the MySQL client
>> library which comes with PHP, and not the one supplied by MySQL.
>
> OK
>
> Jeff
>>

Richard

unread,
Dec 30, 2009, 4:18:17 PM12/30/09
to

"jeff" <jeff_...@att.net> wrote in message
news:hhe0ir$sv5$1...@news.albasani.net...

Hi,

do you use a mySQL database?

I have had crashes like this on Windows when one of the installed
dll's for mySQL was the wrong version.
Searched for days and days, and found out a conflict in the mySQL dlls

Somehow more than one lib was on the system, and the wrong one got
used.

Might be worth a look.

Richard


jeff

unread,
Jan 1, 2010, 12:34:53 AM1/1/10
to

I don't administer this server.

Jeff

Jerry Stuckle

unread,
Jan 1, 2010, 8:14:30 AM1/1/10
to

Then you need to be getting the system administrator involved. You
won't be able to fix it unless you have administrator access.

0 new messages