Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1175772
D499.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Oct 5, 12:51 AM
Size
593 B
Mime Type
text/x-diff
Expires
Mon, Oct 6, 12:51 AM (17 h, 59 m)
Engine
blob
Format
Raw Data
Handle
762632
Attached To
D499: INP-1888 - Detect Memcache availability during installation using Memcache/Memcached PHP modules
D499.diff
View Options
Index: branches/5.2.x/core/install/prerequisites.php
===================================================================
--- branches/5.2.x/core/install/prerequisites.php
+++ branches/5.2.x/core/install/prerequisites.php
@@ -127,7 +127,7 @@
}
$ret['url_rewriting'] = $mod_rewrite;
- $ret['memcache'] = class_exists('Memcache');
+ $ret['memcache'] = class_exists('Memcache') || class_exists('Memcached');
$ret['curl'] = function_exists('curl_init');
$ret['simplexml'] = function_exists('simplexml_load_string');
$ret['spl'] = function_exists('spl_autoload_register');
Event Timeline
Log In to Comment