summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/file/file.install
diff options
context:
space:
mode:
authorAlex Pott <alex.a.pott@googlemail.com>2015-12-09 12:40:26 +0000
committerAlex Pott <alex.a.pott@googlemail.com>2015-12-09 12:40:26 +0000
commitdfe09269126dc92fb019bee6475a0ad748e55c42 (patch)
tree9b1fc0bc39a47458591d65158e8a2a82c23c0441 /core/modules/file/file.install
parentba82fc6cc9a6700dabc7fa58de6016fa6fe83f5e (diff)
downloaddrupal-dfe09269126dc92fb019bee6475a0ad748e55c42.tar.gz
drupal-dfe09269126dc92fb019bee6475a0ad748e55c42.zip
Issue #2617568 by amateescu, cilefen, Fabianx: Rename apc_* functions with apcu_*
Diffstat (limited to 'core/modules/file/file.install')
-rw-r--r--core/modules/file/file.install6
1 files changed, 3 insertions, 3 deletions
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 <code>apc.rfc1867 = 1</code> to your php.ini configuration. Alternatively, it is recommended to use <a href=":url">PECL uploadprogress</a>, 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 <a href=":uploadprogress_url">PECL uploadprogress library</a> (preferred) or to install <a href=":apc_url">APC</a>.', 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 <a href=":uploadprogress_url">PECL uploadprogress library</a> (preferred) or to install <a href=":apc_url">APC</a>.', array(':uploadprogress_url' => 'http://pecl.php.net/package/uploadprogress', ':apc_url' => 'http://php.net/apcu'));
}
elseif ($implementation == 'apc') {
- $value = t('Enabled (<a href=":url">APC RFC1867</a>)', array(':url' => 'http://php.net/manual/apc.configuration.php#ini.apc.rfc1867'));
+ $value = t('Enabled (<a href=":url">APC RFC1867</a>)', 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 <a href=":url">PECL uploadprogress library</a> if possible.', array(':url' => 'http://pecl.php.net/package/uploadprogress'));
}
elseif ($implementation == 'uploadprogress') {