PHP has encountered an Access Violation at ***

Hi All,

Win 2003, PHP 5.2.12 and IIS 6.

I have PHP configured as ISSAPI and it is serving PHP pages. When I try a page that requires MySQL I am getting just:

PHP has encountered an Access Violation at (and a RANDOM number)

What does this mean?

I have mysql extension uncommented in php.ini, iUSR_ has write permissions. I have specified the php extension directory in php.ini.

Google has not provided me with results that help me fix.

Does anyone have any thoughts?

-ML

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jason ML [ Mi, 06 Januar 2010 00:45 ] [ ID #2027987 ]

Re: PHP has encountered an Access Violation at ***

Slack-Moehrle wrote:
> Hi All,
>
> Win 2003, PHP 5.2.12 and IIS 6.
>
> I have PHP configured as ISSAPI and it is serving PHP pages. When I try a page that requires MySQL I am getting just:
>
> PHP has encountered an Access Violation at (and a RANDOM number)

It means you didn't follow the instructions on the PHP site properly:

http://www.php.net/manual/en/install.windows.iis6.php

Specifically you want to ditch ISAPI and use FastCGI. Additionally, when
setting up FastCGI in IIS you want to use the NTS build of PHP
(Non-Thread-Safe). This is VERY important:

http://www.php.net/get/php-5.2.12-nts-win32-installer.msi/fr om/a/mirror

Then because you'll be pretty screwed for one of the usual bytecode
caches you'll want to use Microsoft's WinCache bytecode cache for PHP
FastCGI:

http://www.iis.net/expand/wincacheforphp

After you've done all this, you'll almost certainly find you no longer
get this error.

Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Robert Cummings [ Mi, 06 Januar 2010 02:43 ] [ ID #2027988 ]
PHP » gmane.comp.php.general » PHP has encountered an Access Violation at ***

Vorheriges Thema: How to get a string from C library into PHP via SWIG?
Nächstes Thema: SVG and PHP