From dfe09269126dc92fb019bee6475a0ad748e55c42 Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Wed, 9 Dec 2015 12:40:26 +0000 Subject: Issue #2617568 by amateescu, cilefen, Fabianx: Rename apc_* functions with apcu_* --- core/modules/file/file.install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'core/modules/file/file.install') diff --git a/core/modules/file/file.install b/core/modules/file/file.install index 4c91e23a54f..35a57373b86 100644 --- a/core/modules/file/file.install +++ b/core/modules/file/file.install @@ -96,16 +96,16 @@ function file_requirements($phase) { $value = t('Not enabled'); $description = t('Your server is not capable of displaying file upload progress. File upload progress requires PHP be run with mod_php or PHP-FPM and not as FastCGI.'); } - elseif (!$implementation && extension_loaded('apc')) { + elseif (!$implementation && extension_loaded('apcu')) { $value = t('Not enabled'); $description = t('Your server is capable of displaying file upload progress through APC, but it is not enabled. Add apc.rfc1867 = 1 to your php.ini configuration. Alternatively, it is recommended to use PECL uploadprogress, which supports more than one simultaneous upload.', array(':url' => 'http://pecl.php.net/package/uploadprogress')); } elseif (!$implementation) { $value = t('Not enabled'); - $description = t('Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC.', array(':uploadprogress_url' => 'http://pecl.php.net/package/uploadprogress', ':apc_url' => 'http://php.net/apc')); + $description = t('Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC.', array(':uploadprogress_url' => 'http://pecl.php.net/package/uploadprogress', ':apc_url' => 'http://php.net/apcu')); } elseif ($implementation == 'apc') { - $value = t('Enabled (APC RFC1867)', array(':url' => 'http://php.net/manual/apc.configuration.php#ini.apc.rfc1867')); + $value = t('Enabled (APC RFC1867)', array(':url' => 'http://php.net/manual/en/apcu.configuration.php#ini.apcu.rfc1867')); $description = t('Your server is capable of displaying file upload progress using APC RFC1867. Note that only one upload at a time is supported. It is recommended to use the PECL uploadprogress library if possible.', array(':url' => 'http://pecl.php.net/package/uploadprogress')); } elseif ($implementation == 'uploadprogress') { -- cgit v1.2.3