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? 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
==================
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?
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.
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
--
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
>
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
>
>
>
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
>>
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
I don't administer this server.
Jeff
Then you need to be getting the system administrator involved. You
won't be able to fix it unless you have administrator access.