Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Aug 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    COM surrogate error using PHP with IIS

    I have recently installed PHP (latest version 5.1.6) on my laptop (XP pro SP2, IIS 5.1), and every time I call a .php page from a browser (IE or Firefox) using http://localhost/test.php the page displays fine, but a couple of seconds later I get one of MSFT's infamous message dialogs saying "COM surrogate has encountered a problem and needs to close. We are sorry for the inconvenience." Then it prompts me to send an error report to MSFT (which I have ignored so far). If I investigate the error report text further I find that the fault lies with "dllHost.exe ver.5.1.2600.2180, faulting module unknown".

    Under 'System Events' I get the message "Out of process application /LM/W3SVC/1/ROOT terminated unexpectedly". File name W3SVC.dll

    If I refresh the page I get a server error "The remote procedure call failed and did not execute.", but when I refresh again the .php page displays fine, but the "COM surrogate..." error dialog appears again, and so on. It's a real pain.

    I guess the problem lies with IIS configuration, but I have no idea where to start. The default website has the .php extension associated with c:\php\php5isapi.dll, ALL methods selected.

    ASP pages seem to display ok, without any problems (classic, not .net, although I do have the .net framework installed on the pc).

    Any help would be appreciated.

    Alan

  • #2
    Regular Coder
    Join Date
    Jan 2003
    Posts
    867
    Thanks
    4
    Thanked 8 Times in 8 Posts
    Are you using a database?

    Do IWAM_hostname and IUSR_hostname have permissions set for access to php5isapi.dll?

  • #3
    New to the CF scene
    Join Date
    Aug 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Are you using a database?
    Not with the php page yet, although I do intend to in the future. SQL-server is already on the pc and will be accessed via. ODBC.

    Do IWAM_hostname and IUSR_hostname have permissions set for access to php5isapi.dll?
    Sorry, but I am a real newbie in this area. How do I check/change this information?

    TIA
    Alan


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •