Skip to content

Commit 04ec0aa

Browse files
committed
Remove(legacy): delete EAccelerator cache, the extension is not existing for php v7.4
See: https://github.com/eaccelerator/eaccelerator, where the following message is shown: > This project is deprecated and does not work with anything newer than PHP 5.3. > Please use a recent version of PHP with OPcache instead!
1 parent e47ec1d commit 04ec0aa

File tree

6 files changed

+1
-207
lines changed

6 files changed

+1
-207
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ CHANGELOG
66
xx/xx/xxxx: Version 1.5.xx
77
--------------------------
88

9+
* Remove sfEAcceleratorCache as the extension is not available on PHP v7.4 anymore.
910
* Remove sfAPCCache as it uses the `apc` extension, which is not available on PHP v7.4 anymore.
1011
[BC-Break] Use `sfAPCUCache` class instead, available on Symfony1 v1.5.16
1112

data/bin/check_configuration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ function get_ini_path()
7878

7979
$accelerator =
8080
((function_exists('apc_store') || function_exists('apcu_store')) && ini_get('apc.enabled'))
81-
|| function_exists('eaccelerator_put') && ini_get('eaccelerator.enable')
8281
|| function_exists('xcache_set');
8382
check($accelerator, 'A PHP accelerator is installed', 'Install a PHP accelerator like APC (highly recommended)', false);
8483

lib/autoload/sfCoreAutoload.class.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ class sfCoreAutoload
4343
'sfsimpleautoload' => 'autoload/sfSimpleAutoload.class.php',
4444
'sfapcucache' => 'cache/sfAPCuCache.class.php',
4545
'sfcache' => 'cache/sfCache.class.php',
46-
'sfeacceleratorcache' => 'cache/sfEAcceleratorCache.class.php',
4746
'sffilecache' => 'cache/sfFileCache.class.php',
4847
'sffunctioncache' => 'cache/sfFunctionCache.class.php',
4948
'sfmemcachecache' => 'cache/sfMemcacheCache.class.php',

lib/cache/sfEAcceleratorCache.class.php

Lines changed: 0 additions & 170 deletions
This file was deleted.

lib/debug/sfWebDebugPanelConfig.class.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public function getPanelContent()
3434
'cache' => sfConfig::get('sf_cache') ? 'on' : 'off',
3535
'compression' => sfConfig::get('sf_compressed') ? 'on' : 'off',
3636
'tokenizer' => function_exists('token_get_all') ? 'on' : 'off',
37-
'eaccelerator' => extension_loaded('eaccelerator') && ini_get('eaccelerator.enable') ? 'on' : 'off',
3837
'apc' => extension_loaded('apc') && ini_get('apc.enabled') ? 'on' : 'off',
3938
'xcache' => extension_loaded('xcache') && ini_get('xcache.cacher') ? 'on' : 'off',
4039
);

test/unit/cache/sfEAcceleratorCacheTest.php

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)