Archived

This forum has been archived. Please start a new discussion on GitHub.

somebody can help me ! it's php wrong! it's really php wrong!

follow me :

1, windows 2000 server + sp4

2, download php-5.0.0-win32.zip:
http://www.php.net/get/php-5.0.0-Win32.zip/from/a/mirror

3, extract php-5.0.0-win32.zip to c:\php and confirm php5isapi.dll in c:\php directory.

4, copy c:\php\php.ini.dest to c:\winnt\php.ini

5, edit the c:\winnt\php.ini:

438 line:

from
extension_dir = "./"
to
extension_dir = "c:\php\ext"

6, open IIS manage console,
right click "Default Web Site",
select "Properties",
select "Main Directory" Tab,
and click "Configuration" button,
select "Application Map" Tab,
click "Add", input:

c:\php\php5isapi.dll
.php

and click "OK"

confirm all.

7, create a test php file:

<?php
echo phpinfo();
?>

it's work fine. I now!

But we're not done! please change test php file:

<?php
echo "hello";
?>

then the screen output as following:

helloPHP has encountered an Access Violation at 014573CD

what's wrong with php? it's my failed? i'll crazy really!
I around it in two week, I.... somebody can help me ?