Hi,

First of all open IIS Manager (press Windows+R button and type 'inetmgr'). 
Select each Site (if there are many) and click on 'Properties'. On the Home 
Directory tab, click on Configuration and delete the handler mapping (script 
mapping) to .php files. After deleting this and applying it, please see that 
there is no handler mapping to .php file at the server level or application 
level. Once the script mapping is deleted completely, please remove the PHP 
installation. In all probability you used a ZIP copy of PHP and if that is the 
case remove the folder. No PHP folder should be present. If you have modified 
Windows registry to load the php.ini files, remove/delete those registry 
settings too. These are all very important steps.

Once you have done all of this, please install VC9 PHP5.3.1 using the Non 
Thread Safe MSI of PHP available at http://windows.php.net/download/. Exact 
link to the MSI is 
http://windows.php.net/downloads/releases/php-5.3.1-nts-Win32-VC9-x86.msi. At 
the time of installation you should select the option to configure IIS FastCGI 
and select extensions you want to install. This should help you installing PHP 
5.3.1 on your machine. Please make sure that you have installed IIS FastCGI 
prior to PHP installation. IIS FastCGI download details can be found at 
http://www.iis.net/expand/fastcgi. If you want to avoid manual steps follow 
instructions at 
http://blogs.iis.net/donraman/archive/2009/10/08/upgrading-to-php-5-3-an-easy-way.aspx.
 

PHP 5.2 also supports IIS FastCGI and the latest one available is PHP 5.2.12. 
Just in case there are compatibility issues with PHP 5.3.1 and your 
application, you can use PHP 5.2.12. An easy way to install this has been 
explained by me at 
http://blogs.iis.net/donraman/archive/2009/10/07/installing-php-on-windows.aspx.
 (remember the actions specified in first paragraph is still required)

If you are having problems with your PHP installation on IIS using FastCGI, you 
can troubleshoot it by using instructions at 
http://blogs.iis.net/donraman/archive/2009/11/15/troubleshooting-php-installation-on-windows.aspx.
 

Hope this helps.

Thanks,
Don.

-----Original Message-----
From: Lucasweb - info [mailto:i...@lucasweb.it] 
Sent: Wednesday, January 20, 2010 6:07 AM
To: php-windows@lists.php.net
Subject: [PHP-WIN] PHP has encountered an Access Violation at 02892BEB 

Hi, i have this error on a win 2003 server with iis6 and php 5.2.5 version 
with ISAPI filter.
I have read that this version is not good and ISAPI is instable so i have 
decided to upgrade to
php 5.3.1 with fastCgi.

How i can remove all reference to older php version on webserver ?
I try to install new php and fastCgi but the webserver run the older version 
and if
i rename the various directory c:\php or php.ini in php-old.ini and put the 
new directory and php.ini file
the webserver don't work with php files.





-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to