Skip to content
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 4176ba2

Browse files
committed
minor #964 dont hint the usage of the ApcuClassLoader anymore (backbone87)
This PR was merged into the 2.3 branch. Discussion ---------- dont hint the usage of the ApcuClassLoader anymore the ApcuClassLoader isnt needed for PHP 5.6+ / PHP 7+ anymore, since Composer can now dump a OPCache optimized static classmap, that has similar performance characteristics also the ApcuClassLoader could cause problems with memory fragmentation for large apps see composer/composer#5174 Commits ------- 2acc49f dont hint the usage of the ApcuClassLoader anymore
2 parents 66fa675 + 2acc49f commit 4176ba2

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

web/app.php

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
<?php
22

3-
use Symfony\Component\ClassLoader\ApcClassLoader;
43
use Symfony\Component\HttpFoundation\Request;
54

65
$loader = require_once __DIR__.'/../app/bootstrap.php.cache';
76

8-
// Use APC for autoloading to improve performance.
9-
// Change 'sf2' to a unique prefix in order to prevent cache key conflicts
10-
// with other applications also using APC.
11-
/*
12-
$loader = new ApcClassLoader('sf2', $loader);
13-
$loader->register(true);
14-
*/
15-
167
require_once __DIR__.'/../app/AppKernel.php';
178
//require_once __DIR__.'/../app/AppCache.php';
189

0 commit comments

Comments
 (0)