PleskPHP5\\php-cgi.exe - The FastCGI process exited unexpectedly

Refers to:

  • Plesk for Windows
  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows

Created:

2016-11-16 12:52:16 UTC

Modified:

2017-02-09 03:15:11 UTC

0

Was this article helpful?


Have more questions?

Submit a request

PleskPHP5\\php-cgi.exe - The FastCGI process exited unexpectedly

Symptoms

Webserver returns the error when I am trying to open end-user's website:

PleskPHP5\\php-cgi.exe - The FastCGI process exited unexpectedly

Cause

Improperly configured %plesk_dir%\\Additional\\PleskPHP5\\php.ini file. Where %plesk_dir% is path to Plesk installation directory (e.g., C:\\Program Files (x86)\\Parallels\\Plesk ).

Resolution

  1. Make sure that php version is shown correctly. Perform the following actions in command line:

    cd C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP5\\

    C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP5>php -v

    PHP 5.2.17 (cli) (built: Jan  6 2011 17:28:41)
    Copyright (c) 1997-2010 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd.
  2. Verify configuration of the PHP settings file ( %plesk_dir%\\Additional\\PleskPHP5\\php.ini ):

    • Check the following parameters:

      extension_dir ="C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP5\\ext"
    • Make sure that all extensions defined under

      ; Windows Extensions
      ;extension=php_bz2.dll
      extension=php_curl.dll
      ;extension=php_dba.dll
      ;extension=php_dbase.dll
      ;extension=php_fdf.dll
      extension=php_gd2.dll
      extension=php_gettext.dll
      ;extension=php_gmp.dll
      ;extension=php_ifx.dll
      extension=php_imap.dll
      ;extension=php_interbase.dll
      ;extension=php_ldap.dll
      extension=php_mbstring.dll
      ;extension=php_exif.dll
      ;extension=php_mcrypt.dll
      ;extension=php_mhash.dll
      ;extension=php_mime_magic.dll
      ;extension=php_ming.dll
      ;extension=php_msql.dll
      extension=php_mssql.dll
      extension=php_mysql.dll
      extension=php_mysqli.dll
      ;extension=php_oci8.dll
      extension=php_openssl.dll
      extension=php_pdo.dll
      ;extension=php_pdo_firebird.dll
      ;extension=php_pdo_mssql.dll
      extension=php_pdo_mysql.dll
      ;extension=php_pdo_oci.dll
      ;extension=php_pdo_oci8.dll
      ;extension=php_pdo_odbc.dll
      ;extension=php_pdo_pgsql.dll
      extension=php_pdo_sqlite.dll
      ;extension=php_pgsql.dll
      ;extension=php_pspell.dll
      ;extension=php_shmop.dll
      ;extension=php_snmp.dll
      ;extension=php_soap.dll
      extension=php_sockets.dll
      extension=php_sqlite.dll
      ;extension=php_sybase_ct.dll
      ;extension=php_tidy.dll
      ;extension=php_xmlrpc.dll
      extension=php_xsl.dll
      upload_tmp_dir= "C:\\WINDOWS\\Temp"
      extension=php_zip.dll

      They should exist in C:\\Program Files (x86)\\Parallels\\Plesk\\Additional\\PleskPHP5\\ext .

Apply required changes and check website again.

Have more questions? Submit a request
Please sign in to leave a comment.