Hi, I have installed PHP 4 for Win from http://php4win.de, and installation goes smoothly. After I configured it with my web server ( I use PWS ) and running a php script, the page displays correctly, but an error message box appeared, said that php.exe created a page fault in MSVCRT.DLL. I try to re-install php4 and configuring it with again, and the problem still appeared. I also have replaced MSVCRT.DLL from Windows with MSVCRT.DLL from php4, but the problem still unsolved.
I then tried to install php4 on another computer, doing the same thing with my previous computer, and php4 worked !!! I tried to find out what's the difference between two PCs, since they had same configuration, except one thing : in PC that trouble appeared, there is MS VC++ installed, and as far as I know, by installing this, it means Windows can be "tweaked". Is it this software (VC++) that caused error message appearead when trying to access php script even though the page displayed correctly ?
I would appreciate any hint or help.

Thank you !

    VC might have messed with the MSVCRT DLL, it definitely installs a bunch of low-level MFC-style libraries. Couple of things to try:

    1) On the offending machines, can you run a test page from the command-line successfully?

    cd c:\php
    php testpage.php

    2) Are you running the ISAPI using PWS? Try the CGI version if so.

    Dave

    ===========================================
    http://badblue.com/helpphp.htm
    Free small footprint web server for Windows

    P2P file-sharing, PHP, wireless apps & more

      Thanks, Dave.
      I have tried #1, it still showed error box, but the output is 100% alright
      I also have tried #2, also still showed error box, but the page is displayed correctly.
      I think the biggest problem is VC++ installed on offending machine

        Write a Reply...