php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36499 inetinfo.exe crashes
Submitted: 2006-02-23 17:42 UTC Modified: 2006-02-23 20:36 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: MatthewBeirn at yahoo dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 5.1.2 OS: Windows Xp
Private report: No CVE-ID: None
 [2006-02-23 17:42 UTC] MatthewBeirn at yahoo dot com
Description:
------------
Sytem is currently running
IIS 6.0
Windows XP

SHORT Description:
Getting the following errors after I set up PHP5 5.1.2
When I shutdown or restart I get a Referenced memory error about the IntetInfo.exe.
There seems to be a number of tickets without any resolution.

NOT SO SHORT Description:
I'm basically getting the same issue as the ticket
#29397 (inetinfo.exe crashes when shutdown).  
There is no resolution to that ticket and I don't know what to do.  I've followed the instructions on Php.Net to a "T" with little results.  I've even uninstalled and installed IIS about 4 times with no luck. 

Here is what i did:

1.I unzipped the .zip packages into my C:\PHP and C:\PHP\ext folders.

2.I added ;C:\PHP to the Environmental Variable "Path".

3.I changed the php.ini-dist variables:
 doc_root = C:\Inetpub\wwwroot 
 extension_dir = C:\PHP\ext
and saved it as php.ini in both the Windows and PHP directory on my C: Drive.

4.I configured IIS to read the appropriate .php extensions and pointed it to the php5isapi.dll in the C:\PHP directory. 

5.I restarted my PC.

6.I saved the following code in a php file (PhpInfo.php) located in the c:\inetpub\wwwroot folder.
<?php phpinfo();) ?>

7.When I put the address http://localhost/phpinfo.php through Internet Explorer it displays the page as 
<?php phpinfo();) ?>

8. I get an error when i restart or shutdown about inetinfo.exe and a reference to memory.

Sytem is currently running
IIS 6.0
Windows XP




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-23 17:46 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.1-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.1-win32-latest.zip


 [2006-02-23 18:09 UTC] MatthewBeirn at yahoo dot com
The CVS snapshot did NOT work.  I'm still getting the memory address error and the phpinfo().php file is not being read properly.
 [2006-02-23 19:33 UTC] tony2001@php.net
Which extension did you enable/load?
Are you able to reproduce it with something different than IIS (like Apache)?
 [2006-02-23 19:50 UTC] MatthewBeirn at yahoo dot com
No.  The "Production" server uses IIS, therefor I will be developing the application on IIS.
 [2006-02-23 19:55 UTC] tony2001@php.net
I didn't ask you to _use_ Apache, I only asked you to try it.
Since on Windows almost impossible to get a backtrace, we need to get as much information as possible to be able to understand the problem.


 [2006-02-23 20:10 UTC] matthewbeirn at yahoo dot com
Temporary Resolution:
I'm not sure the best way to explain this but I continually 
1. Changed the Environmental Variable "Path" clearing the ;c:\php and then restarting again, 
2. Re-Configured IIS to look at the .dll in the C:\Php directory.
3. I toggeld the advanced archived properties on the php5isapi.dll in the c:\php directory.

The phpinfo.php file is being displayed correctly when addressed in Internet Explorer now.  The memory address error from the inetinfo.exe has vanished.
Very Strange.....  But that is the name of the game.  

I can't thank you enough for your immediate support.  A+++++ for response time.  Maybe it was the new dll's and .exe's.  Who knows?

Thanks a million,

Matt
 [2006-02-23 20:18 UTC] tony2001@php.net
Make sure you don't have any old DLLs left from previous PHP installs.
 [2006-02-23 20:27 UTC] MatthewBeirn at yahoo dot com
YES... That could have been the cause.   I forgot to state that as a precaution I copied all the .dll's and .exe's into the Windows\system32 directory right before it began to work.
I thought the .dll's and .exe's only needed to be in the C:\PHP folder because I'm set the Environmental Path Variable?
 [2006-02-23 20:36 UTC] tony2001@php.net
>I thought the .dll's and .exe's only needed to be in the 
>C:\PHP folder because I'm set the Environmental Path Variable?
Yes, but if there were old DLLs in system32 folder, they would be used first.
Okay, so if you're able to reproduce this problem again and/or have some more info about it - please re-open this report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 07:01:32 2024 UTC