Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13240644
D14566.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D14566.diff
View Options
diff --git a/src/applications/cache/spec/PhabricatorCacheSpec.php b/src/applications/cache/spec/PhabricatorCacheSpec.php
--- a/src/applications/cache/spec/PhabricatorCacheSpec.php
+++ b/src/applications/cache/spec/PhabricatorCacheSpec.php
@@ -79,6 +79,9 @@
}
protected function raiseInstallAPCIssue() {
+ if (version_compare(phpversion(), '7', '>=')) {
+ return;
+ }
$message = pht(
"Installing the PHP extension 'APC' (Alternative PHP Cache) will ".
"dramatically improve performance. Note that APC versions 3.1.14 and ".
diff --git a/src/applications/cache/spec/PhabricatorDataCacheSpec.php b/src/applications/cache/spec/PhabricatorDataCacheSpec.php
--- a/src/applications/cache/spec/PhabricatorDataCacheSpec.php
+++ b/src/applications/cache/spec/PhabricatorDataCacheSpec.php
@@ -61,7 +61,7 @@
}
private function initNoneSpec() {
- if (version_compare(phpversion(), '5.5', '>=')) {
+ if (version_compare(phpversion(), '5.5', '>=') && version_compare(phpversion(), '7', '<')) {
$message = pht(
'Installing the "APCu" PHP extension will improve performance. '.
'This extension is strongly recommended. Without it, Phabricator '.
diff --git a/src/applications/cache/spec/PhabricatorOpcodeCacheSpec.php b/src/applications/cache/spec/PhabricatorOpcodeCacheSpec.php
--- a/src/applications/cache/spec/PhabricatorOpcodeCacheSpec.php
+++ b/src/applications/cache/spec/PhabricatorOpcodeCacheSpec.php
@@ -188,7 +188,7 @@
}
private function initNoneSpec() {
- if (version_compare(phpversion(), '5.5', '>=')) {
+ if (version_compare(phpversion(), '5.5', '>=') && version_compare(phpversion(), '7', '<')) {
$message = pht(
'Installing the "Zend OPcache" extension will dramatically improve '.
'performance.');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, May 23, 3:49 PM (3 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6289080
Default Alt Text
D14566.diff (1 KB)
Attached To
Mode
D14566: Ignore caching extensions that are not available on PHP7
Attached
Detach File
Event Timeline
Log In to Comment