PHP Warning: PHP Startup: uploadprogress: Unable to initialize module

I’ve attempted to upgrade available packages on several Virtualmin guest systems through Cloudmin UI and, unfortunately, several of them got crushed, apparently because something went wrong with the upgrade process.

Currently one of crushed systems show:

root@ns1:/root# pecl upgrade pear.php.net is using a unsupported protocol - This should never happen. pear.php.net is using a unsupported protocol - This should never happen. pear.php.net is using a unsupported protocol - This should never happen. upgrade failed root@ns1:/root# php -version PHP Warning: PHP Startup: uploadprogress: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 PHP Parse error: syntax error, unexpected end of file in Command line code on line 1

Attempt to fix per http://blog.pear.php.net/2009/08/28/fixing-unsupported-protocol/ didn’t help.

After trying number of approaches, I’ve decided just to migrate the websites from faulty Virutal systems to new VPS. However, in short my findings were that after last Virtualmin upgrade MySQL, pear and perl should be all upgraded, but for some reason didn’t not, hence the issue.

Just for reference, all crushed servers’ Apache error log contained:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/apc.so' - /usr/lib/php/modules/apc.so: undefined symbol: pcre_exec in Unknown on line 0 PHP Warning: PHP Startup: uploadprogress: Unable to initialize module Module compiled with module API=20090626 PHP compiled with module API=20100525 These options need to match in Unknown on line 0 [Thu Oct 24 07:47:02 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Thu Oct 24 07:47:02 2013] [notice] Digest: generating secret for digest authentication ... [Thu Oct 24 07:47:02 2013] [notice] Digest: done PHP Warning: PHP Startup: apc: Unable to initialize module\nModule compiled with module API=20090626\nPHP compiled with module API=20100525\nThese options need to match\n in Unknown on line 0 PHP Warning: PHP Startup: uploadprogress: Unable to initialize module\nModule compiled with module API=20090626\nPHP compiled with module API=20100525\nThese options need to match\n in Unknown on line 0 [Thu Oct 24 07:47:07 2013] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.7 PHP/5.4.21 mod_ssl/2.2.15 OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations