Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Nov 27, 2020. It is now read-only.

Commit 2acc49f

Browse filesBrowse files
committed
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
1 parent 66fa675 commit 2acc49f
Copy full SHA for 2acc49f

File tree

Expand file treeCollapse file tree

1 file changed

+0
-9
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-9
lines changed

‎web/app.php

Copy file name to clipboardExpand all lines: web/app.php
-9Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.