Unable to change version of PHP through cPanel

cpane1

Well-Known Member
Jun 10, 2007
56
0
156
Hello while changing the version of PHP from 5 to 4 I receive the below error:


Code:
An error was encountered while configuring which version of PHP will process the ".php" file extension.
Show Details

(internal death while parsing ./frontend/x3/php/dodefaultphp.html) Wed Jan 27 13:05:23 2010 [18119] error: open3: exec of /usr/local/cpanel/bin/update_php_mime_types --user=epostcom --force=4 failed at /usr/local/cpanel/Cpanel/SafeRun/Errors.pm line 21 Carp::croak('open3: exec of /usr/local/cpanel/bin/update_php_mime_types --use...') called at /usr/lib/perl5/5.6.2/IPC/Open3.pm line 230 IPC::Open3::_open3('open3', 'Cpanel::SafeRun::Errors', '<&RNULL', 'GLOB(0xa169014)', 'GLOB(0xa169014)', '/usr/local/cpanel/bin/update_php_mime_types', '--user=epostcom', '--force=4') called at /usr/lib/perl5/5.6.2/IPC/Open3.pm line 291 IPC::Open3::eek:pen3('<&RNULL', 'GLOB(0xa169014)', 'GLOB(0xa169014)', '/usr/local/cpanel/bin/update_php_mime_types', '--user=epostcom', '--force=4') called at /usr/local/cpanel/Cpanel/SafeRun/Errors.pm line 21 Cpanel::SafeRun::Errors::saferunallerrors('/usr/local/cpanel/bin/update_php_mime_types', '--user=epostcom', '--force=4') called at /usr/local/cpanel/Cpanel/Htaccess.pm line 406 Cpanel::Htaccess::setphppreference(4) called at cpanel.pl line 318 main::__ANON__(4) called at cpanel.pl line 1789 main::exectag('') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x9196a80)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x94c2110)') called at cpanel.pl line 1318
open3: exec of /usr/local/cpanel/bin/update_php_mime_types --user=epostcom --force=4 failed at /usr/local/cpanel/Cpanel/SafeRun/Errors.pm line 21 Carp::croak('open3: exec of /usr/local/cpanel/bin/update_php_mime_types --use...') called at /usr/lib/perl5/5.6.2/IPC/Open3.pm line 230 IPC::Open3::_open3('open3', 'Cpanel::SafeRun::Errors', '<&RNULL', 'GLOB(0xa169014)', 'GLOB(0xa169014)', '/usr/local/cpanel/bin/update_php_mime_types', '--user=epostcom', '--force=4') called at /usr/lib/perl5/5.6.2/IPC/Open3.pm line 291 IPC::Open3::eek:pen3('<&RNULL', 'GLOB(0xa169014)', 'GLOB(0xa169014)', '/usr/local/cpanel/bin/update_php_mime_types', '--user=epostcom', '--force=4') called at /usr/local/cpanel/Cpanel/SafeRun/Errors.pm line 21 Cpanel::SafeRun::Errors::saferunallerrors('/usr/local/cpanel/bin/update_php_mime_types', '--user=epostcom', '--force=4') called at /usr/local/cpanel/Cpanel/Htaccess.pm line 406 Cpanel::Htaccess::setphppreference(4) called at cpanel.pl line 318 main::__ANON__(4) called at cpanel.pl line 1789 main::exectag('<cpanel Htaccess="setphppreference($FORM{\'php_version\'})">') called at cpanel.pl line 4808 main::dotag(undef) called at cpanel.pl line 4691 main::cpanel_parseblock('SCALAR(0x9196a80)') called at cpanel.pl line 4643 main::cpanel_parse('GLOB(0x94c2110)') called at cpanel.pl line 1318
[a fatal error or timeout occurred while processing this directive]open3: exec of /usr/local/cpanel/bin/update_php_mime_types --user=epostcom --force=4 failed at /usr/local/cpanel/Cpanel/SafeRun/Errors.pm line 21

Any help on this ?
 

cpane1

Well-Known Member
Jun 10, 2007
56
0
156
strange....no one even knows about it......Do I just hit a BUG in cPanel ?
 

cPanelDon

cPanel Quality Assurance Analyst
Staff member
Nov 5, 2008
2,544
13
268
Houston, Texas, U.S.A.
cPanel Access Level
DataCenter Provider
Twitter
Given the reported details I believe this should be escalated via a support request; if a bug is suspected please note that the best avenue to report it is via our ticket system using the link in the top-right corner of the forums, labeled Bugs; using this method helps to ensure greater efficiency, accuracy in diagnosis, full and in-depth investigation and faster resolution. Thank you for your understanding.