Very strange behavior of the panel at FastCGI configuration why the panel it seems also edits that fciext.ini and it seems NOT! ! thus changes made to panels are applied to the domain
and everything works! ! ! But only within versions which are offered by old splash 9.0, and me other versions therefore interest I ask without soothing recommendations
Plesk 9.0.1, win2003,FastCGI 1.5, IIS 6
video reproduce (rus): http://youtu.be/1Vfc8zjDbD4
1 . The adventure began with a solution which looks approximately so:
after PHP 5.3 version addition on the server (+ iis6 + plesk 9.0.1) and respectively as splash isn't able to understand existence of one more PHP interpreter (speech about plesk 9.0 versions but an essence of a problem is deeper than win 2k3 see further).
In a manual mode we do the following in plesk we remove a daw for our xxx.ua domain
PHP support [] the Version <5.2.6> (to start as)
we go to the C:\WINDOWS\system32\inetsrv\fcgiext.ini file
also we add the identifier of a site and expansion and we establish compliance with a call of the corresponding version of the PHP interpreter
after these changes the configuration starts looking as:
====fcgiext.ini=========================================
[Types]
php:16107=php53
php5:16107=php53
php53:16107=php53
phtml:164107=php53
php:20186=Plesk_php5
php5:20186=Plesk_php5
phtml:20186=Plesk_php5
[Plesk_php5]
ExePath="C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe"
[Plesk_php]
ExePath="C:\Program Files (x86)\Parallels\Plesk\Additional\Php\php.exe"
[php53]
ExePath="C:\Program Files (x86)\Parallels\Plesk\Additional\PHP53\php-cgi.exe"
EnvironmentVars=PHPRC:"c:\Program Files (x86)\Parallels\Plesk\Additional\PHP53\",PHP_INI_SYSTEM:"c:\Program Files (x86)\Parallels\Plesk\Additional\PHP53\"
PHP_INI_SYSTEM="c:\Program Files (x86)\Parallels\Plesk\Additional\PHP53\"
===========================================================
2 . we reboot (hrad reset) the server and we receive the following answer from the server after the appeal to the domain
http://xxx.ua/1.php
Chrom browser window:
FastCGI Error
The FastCGI Handler was unable to process the request.
Error Details:
Couldn't find entry for "PHP" on site 16107 in [Types] of section.
Error Number: 1413 (0x80070585).
Error Description: Invalid index.
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
where 1.php
<?php
phpinfo();
?>
and fcgiext.ini see above.
3 . Mysticism:
a) step 1
We go to the Plesk panel (v.9.0)
also we change for the domain the PHP version on 5.2.6 and the handler of FASTCGI (to start as... )
We check online (right there) our site http://xxx.ua/1.php
PHP Version 5.2.6
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
System Windows NT QBERT-SERVER1 5.2 build 3790
Build Date May 2 2008 18:01:20
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.ini
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
b) step 2
we change for the domain the PHP version on 4.4.7 and the handler of FASTCGI (to start as... )
We check online (right there) our site http://xxx.ua/1.php
PHP Version 4.4.7
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
System Windows NT QBERT-SERVER1 5.2 build 3790
Build Date May 4 2007 13:29:21
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety enabled
Registered PHP Streams php, http, ftp, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
while harm of mysticism it would be not visible
but in the C:\WINDOWS\system32\inetsrv\fcgiext.ini file
ANY CHANGES TO IN TIME AFTER THE MADE CHANGES! !
! we delete all lines in the configuration C:\WINDOWS\system32\inetsrv\fcgiext.ini file, that is we don't delete it from system and it is physically deleted all symbols, leaving file =0 size
for purity of experiment we overload the server physically, i.e. all W2k3 system
and now the most unclear: ?
c) the step 3, \magic begins \
We check online (right there) our site http://xxx.ua/1.php
PHP Version 4.4.7
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
System Windows NT QBERT-SERVER1 5.2 build 3790
Build Date May 4 2007 13:29:21
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.ini
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
that is the system doesn't notice full clear of the configuration file
it is good, as the version, a cache of dl and its parameters (about existence of the similar mechanism i'm nothing a fantastic guess. )
well all right we go further:
d) step 4, \it isn't clear \
We go to the Plesk panel (v.9.0)
also we change for the domain the PHP version on 5.2.6 and the handler of FASTCGI (to start as... )
We check online (right there) our site http://xxx.ua/1.php
PHP Version 5.2.6
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
System Windows NT QBERT-SERVER1 5.2 build 3790
Build Date May 2 2008 18:01:20
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"
Server API CGI/FastCGI
Virtual Directory Support enabled
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
Probably our config revived? splash restored it on records in a splash DB? ? ? NO, there is no it still isn't present, that is it is but empty such as I left it even at the beginning of experiment
4 . All right I stubborn, we put on the processmon.exe server and we start looking as who and where wrote (yes to a campaign before conditions of the register of anything except tags of mysql were checked didn't change)
about and hurrah after change in the panel PHP version splash for the set domain I see something such:
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
22:34:52,9264226 websrvmng.exe 3988 WriteFile C:\WINDOWS\Temp\tmpFD3.tmp FAST IO DISALLOWED Offset: 11*460, Length: 202
22:34:52,9264640 websrvmng.exe 3988 WriteFile C:\WINDOWS\Temp\tmpFD3.tmp SUCCESS Offset: 11*460, Length: 202
22:34:52,9276718 websrvmng.exe 3988 WriteFile C:\WINDOWS\Temp\tmpFD3.tmp FAST IO DISALLOWED Offset: 11*599, Length: 61
22:34:52,9277307 websrvmng.exe 3988 WriteFile C:\WINDOWS\Temp\tmpFD3.tmp SUCCESS Offset: 11*599, Length: 61
22:34:53,0576331 websrvmng.exe 3988 WriteFile C:\WINDOWS\system32\inetsrv\fcgiext.ini SUCCESS Offset: 0, Length: 11*662
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
that is according to the last record
C:\WINDOWS\system32\inetsrv\fcgiext.ini SUCCESS Offset: 0, Length: 11 662
the configuration file is, and it isn't simple to eat, and in it the whole 11th kilobyte of information
we look in system on the specified way... our old acquaintance - PURE ZERO fcgiext.ini
Similar anomaly doesn't allow to move further in the direction of division of configurations for PHP 5.2.6, 5.3, 5.4 within this server and anomaly causes keen desire to understand a problem.
the request to comment on a problem with not the changeable file of a configuration of C:\WINDOWS\system32\inetsrv\fcgiext.ini
and everything works! ! ! But only within versions which are offered by old splash 9.0, and me other versions therefore interest I ask without soothing recommendations
Plesk 9.0.1, win2003,FastCGI 1.5, IIS 6
video reproduce (rus): http://youtu.be/1Vfc8zjDbD4
1 . The adventure began with a solution which looks approximately so:
after PHP 5.3 version addition on the server (+ iis6 + plesk 9.0.1) and respectively as splash isn't able to understand existence of one more PHP interpreter (speech about plesk 9.0 versions but an essence of a problem is deeper than win 2k3 see further).
In a manual mode we do the following in plesk we remove a daw for our xxx.ua domain
PHP support [] the Version <5.2.6> (to start as)
we go to the C:\WINDOWS\system32\inetsrv\fcgiext.ini file
also we add the identifier of a site and expansion and we establish compliance with a call of the corresponding version of the PHP interpreter
after these changes the configuration starts looking as:
====fcgiext.ini=========================================
[Types]
php:16107=php53
php5:16107=php53
php53:16107=php53
phtml:164107=php53
php:20186=Plesk_php5
php5:20186=Plesk_php5
phtml:20186=Plesk_php5
[Plesk_php5]
ExePath="C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php-cgi.exe"
[Plesk_php]
ExePath="C:\Program Files (x86)\Parallels\Plesk\Additional\Php\php.exe"
[php53]
ExePath="C:\Program Files (x86)\Parallels\Plesk\Additional\PHP53\php-cgi.exe"
EnvironmentVars=PHPRC:"c:\Program Files (x86)\Parallels\Plesk\Additional\PHP53\",PHP_INI_SYSTEM:"c:\Program Files (x86)\Parallels\Plesk\Additional\PHP53\"
PHP_INI_SYSTEM="c:\Program Files (x86)\Parallels\Plesk\Additional\PHP53\"
===========================================================
2 . we reboot (hrad reset) the server and we receive the following answer from the server after the appeal to the domain
http://xxx.ua/1.php
Chrom browser window:
FastCGI Error
The FastCGI Handler was unable to process the request.
Error Details:
Couldn't find entry for "PHP" on site 16107 in [Types] of section.
Error Number: 1413 (0x80070585).
Error Description: Invalid index.
HTTP Error 500 - Server Error.
Internet Information Services (IIS)
where 1.php
<?php
phpinfo();
?>
and fcgiext.ini see above.
3 . Mysticism:
a) step 1
We go to the Plesk panel (v.9.0)
also we change for the domain the PHP version on 5.2.6 and the handler of FASTCGI (to start as... )
We check online (right there) our site http://xxx.ua/1.php
PHP Version 5.2.6
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
System Windows NT QBERT-SERVER1 5.2 build 3790
Build Date May 2 2008 18:01:20
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.ini
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
b) step 2
we change for the domain the PHP version on 4.4.7 and the handler of FASTCGI (to start as... )
We check online (right there) our site http://xxx.ua/1.php
PHP Version 4.4.7
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
System Windows NT QBERT-SERVER1 5.2 build 3790
Build Date May 4 2007 13:29:21
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20050606
Debug Build no
Zend Memory Manager enabled
Thread Safety enabled
Registered PHP Streams php, http, ftp, compress.zlib
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
while harm of mysticism it would be not visible
but in the C:\WINDOWS\system32\inetsrv\fcgiext.ini file
ANY CHANGES TO IN TIME AFTER THE MADE CHANGES! !
! we delete all lines in the configuration C:\WINDOWS\system32\inetsrv\fcgiext.ini file, that is we don't delete it from system and it is physically deleted all symbols, leaving file =0 size
for purity of experiment we overload the server physically, i.e. all W2k3 system
and now the most unclear: ?
c) the step 3, \magic begins \
We check online (right there) our site http://xxx.ua/1.php
PHP Version 4.4.7
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
System Windows NT QBERT-SERVER1 5.2 build 3790
Build Date May 4 2007 13:29:21
Server API CGI/FastCGI
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Program Files (x86)\Parallels\Plesk\Additional\PleskPHP5\php.ini
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
that is the system doesn't notice full clear of the configuration file
it is good, as the version, a cache of dl and its parameters (about existence of the similar mechanism i'm nothing a fantastic guess. )
well all right we go further:
d) step 4, \it isn't clear \
We go to the Plesk panel (v.9.0)
also we change for the domain the PHP version on 5.2.6 and the handler of FASTCGI (to start as... )
We check online (right there) our site http://xxx.ua/1.php
PHP Version 5.2.6
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
System Windows NT QBERT-SERVER1 5.2 build 3790
Build Date May 2 2008 18:01:20
Configure Command cscript /nologo configure.js "--enable-snapshot-build" "--with-gd=shared" "--with-extra-includes=C:\Program Files (x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS~2\VC98\MFC\INCLUDE" "--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\VC98\MFC\LIB"
Server API CGI/FastCGI
Virtual Directory Support enabled
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
Probably our config revived? splash restored it on records in a splash DB? ? ? NO, there is no it still isn't present, that is it is but empty such as I left it even at the beginning of experiment
4 . All right I stubborn, we put on the processmon.exe server and we start looking as who and where wrote (yes to a campaign before conditions of the register of anything except tags of mysql were checked didn't change)
about and hurrah after change in the panel PHP version splash for the set domain I see something such:
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
22:34:52,9264226 websrvmng.exe 3988 WriteFile C:\WINDOWS\Temp\tmpFD3.tmp FAST IO DISALLOWED Offset: 11*460, Length: 202
22:34:52,9264640 websrvmng.exe 3988 WriteFile C:\WINDOWS\Temp\tmpFD3.tmp SUCCESS Offset: 11*460, Length: 202
22:34:52,9276718 websrvmng.exe 3988 WriteFile C:\WINDOWS\Temp\tmpFD3.tmp FAST IO DISALLOWED Offset: 11*599, Length: 61
22:34:52,9277307 websrvmng.exe 3988 WriteFile C:\WINDOWS\Temp\tmpFD3.tmp SUCCESS Offset: 11*599, Length: 61
22:34:53,0576331 websrvmng.exe 3988 WriteFile C:\WINDOWS\system32\inetsrv\fcgiext.ini SUCCESS Offset: 0, Length: 11*662
-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
that is according to the last record
C:\WINDOWS\system32\inetsrv\fcgiext.ini SUCCESS Offset: 0, Length: 11 662
the configuration file is, and it isn't simple to eat, and in it the whole 11th kilobyte of information
we look in system on the specified way... our old acquaintance - PURE ZERO fcgiext.ini
Similar anomaly doesn't allow to move further in the direction of division of configurations for PHP 5.2.6, 5.3, 5.4 within this server and anomaly causes keen desire to understand a problem.
the request to comment on a problem with not the changeable file of a configuration of C:\WINDOWS\system32\inetsrv\fcgiext.ini
Last edited: