Results 1 to 4 of 4

Thread: What are php-cgi.exe files on Windows XP

  1. #1
    Join Date
    May 2009
    Posts
    37

    What are php-cgi.exe files on Windows XP

    I am running windows XP on my machine, I have installed PHP5 on XP and find the PHP directory has 3 executables: php.exe php-cgi.exe php-win.exe. Along with that i also even got exec(), system() from which i could run a command, but when running SCP I need to run the command, so is it possible the same thing with the above these files? if not then What are these three files and when are they used?

  2. #2
    Join Date
    May 2008
    Posts
    2,389

    Re: What are php-cgi.exe files on Windows XP

    They're variations on the Command Line Interface versions of PHP5. In particular, php-win.exe runs commandline PHP scripts without needing to have a DOS terminal emulator open.Or else you could do this by Loading IIS from the Administrative tools in the Control Panel by clicking Start -> Administrative Tools -> IIS Manager, there you find the main setting to configure IIS, when this has been enabled then your browser will be able to run PHP file.

  3. #3
    Join Date
    Apr 2008
    Posts
    2,005

    Re: What are php-cgi.exe files on Windows XP

    PHP php-cgi.exe is developed by The PHP Group. It looks like PHP extension folder is incorrect in the PHP.ini and because of this PHP cannot load the library. You start PHP from C:\PHP but it search for extensions in C:\Program Files (x86)\PHP\ext\. Set the extension_dir directive in PHP.ini to 'C:\PHP\ext' to resolve this.issue. But make it sure that php-cgi is reported as the bug and it has already forwarded to PHP support.

  4. #4
    Join Date
    May 2008
    Posts
    2,012

    Re: What are php-cgi.exe files on Windows XP

    I think you need to do necessary changes to your registry entry which should be added for PHP: HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath = C:\PHP. The fastCGI issue shouldn't be there as I am sure it was fixed in this php version. Its normal for them to stay for a certain time period because that's the point of it, It should disappear after a timeout set in your configuration.

Similar Threads

  1. Replies: 5
    Last Post: 12-11-2011, 10:22 PM
  2. Replies: 12
    Last Post: 25-10-2011, 03:07 PM
  3. Replies: 6
    Last Post: 12-07-2011, 12:17 AM
  4. Replies: 2
    Last Post: 10-06-2010, 08:21 PM
  5. Replies: 2
    Last Post: 10-06-2009, 11:16 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,173,806.83915 seconds with 16 queries