« Previous Next »

Thread: PHP-phpcfg failed

Last post 12-03-2008 6:29 PM by cjnr. 0 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (1 items)

Sort Posts:

  • 12-03-2008, 6:29 PM

    • cjnr
    • Not Ranked
    • Joined on 12-03-2008, 6:18 PM
    • Posts 1

    PHP-phpcfg failed

    Hi Everyone

    I run IIS7 on windows server 2008 and Plesk 8.6 Control Panel

    The server is returning the following error :
    Server Error
    404 - File or directory not found.
    The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

    If i change the PHP version to 4.4.7, i have a error message.
    Then i change it back to 5.2.6, i have about the same error message (check below)
    If i try again change the PHP version to 4.4.7, it works.
    Then i change it back to 5.2.6, it works.
    Then the website is working.

    BUT, after a couple of hours, it stop working.

    Then i have to redo the same operation to get it back !

    How i can fix this issue ?

    ----------------------------
    phpcfg failed: Execute websrvmng --set-scripts "--vhost-name=domainname.com" "--scripts=<scripts action='add'><script name='php' php_version='5' php_handler_type='cgi' /></scripts>" "--app-name=/" failed: C Exception: 3221225477
    ---------------------- Debug Info -------------------------------
    0: plib\class.PhpManager.php:207
    PhpManager->callPHPCfg(array)
    1: plib\class.PhpManager.php:97
    PhpManager->setVersion(string '5')
    2: htdocs\domains\php_changeversion.php:30
     

Page 1 of 1 (1 items)
Microsoft Communities