Re: PHP has encountered an Access Violation at ***
| From: | Robert Cummings | Date: | Wed, 06 Jan 2010 01:43:04 +0000 |
| Subject: | Re: PHP has encountered an Access Violation at *** | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300839@lists.php.net to get a copy of this message | ||
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/from/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