php-cgi.exe being deleted RRS feed

  • Question

  • User1625667327 posted

    I am running IIS 7.5 on a win 7 (64) machine and have several development sites running, just upgraded PHP to 5.4 and have the following problem.

    Using phpmyadmin  as an example - enter phpmyadmin , login, browse a database file, after a short period of time receive ERROR 500.

    OK with that, error can be sorted, I hope. But as a result the php-cgi.exe has been deleted and the php directory in which it was stored gives a permission required error if I try to copy the exe file back.

    If I reboot machine, can copy back a stored copy of the php-cgi.exe no problem.

    In short when error 500 encountered fast cgi executable is being deleted, and 'permissions' changed on the directory, who or what is doing this and why

    Any answers please



    Wednesday, January 29, 2014 11:16 AM


  • User-823319154 posted

    Hi Hoppy_dave

    If you want to upgrade php, you need run the PHP install for the newer version to get the upgrade.

    If you get anything wrong during you use php in IIS, you could check the logfile in C:\inetpub\logs\FailedReqLogFiles, it will give some details to troubleshoot.



    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Thursday, January 30, 2014 1:41 AM