Index: t3lib/class.t3lib_div.php =================================================================== --- t3lib/class.t3lib_div.php (revision 4370) +++ t3lib/class.t3lib_div.php (working copy) @@ -2662,16 +2662,10 @@ ) ); $content = @file_get_contents($url, false, $ctx); - if ($content === false && isset($report)) { - // TODO: Remove this once PHP 5.1 support is dropped completely - if (function_exists('error_get_last')) { - $phpError = error_get_last(); - $report['error'] = $phpError['type']; - $report['message'] = $phpError['message']; - } else { - $report['error'] = -1; - $report['message'] = 'Couldn\'t get URL.'; - } + if ($content === false && isset($report)) { + $phpError = error_get_last(); + $report['error'] = $phpError['type']; + $report['message'] = $phpError['message']; } } else { if (isset($report)) { Index: typo3/init.php =================================================================== --- typo3/init.php (revision 4370) +++ typo3/init.php (working copy) @@ -60,7 +60,7 @@ // ******************************* // Checking PHP version // ******************************* -if (version_compare(phpversion(), '5.1', '<')) die ('TYPO3 requires PHP 5.1.0 or higher.'); +if (version_compare(phpversion(), '5.2', '<')) die ('TYPO3 requires PHP 5.2.0 or higher.'); // ******************************* Index: typo3/sysext/cms/tslib/index_ts.php =================================================================== --- typo3/sysext/cms/tslib/index_ts.php (revision 4370) +++ typo3/sysext/cms/tslib/index_ts.php (working copy) @@ -41,7 +41,7 @@ // ******************************* // Checking PHP version // ******************************* -if (version_compare(phpversion(), '5.1', '<')) die ('TYPO3 requires PHP 5.1.0 or higher.'); +if (version_compare(phpversion(), '5.2', '<')) die ('TYPO3 requires PHP 5.2.0 or higher.'); // ******************************* // Set error reporting