1 | <?php |
||
2 | |||
3 | /** |
||
4 | * Memcache configuration |
||
5 | * |
||
6 | * PSF Framework doesnt require memcache, but you can use it to speed up your website. |
||
7 | * Note: If you want to use memcache, you have also to configure in file cache.php |
||
8 | */ |
||
9 | |||
10 | //Memcache Statistic Report: https://github.com/DBezemer/memcachephp |
||
11 | |||
12 | //http://php.net/manual/de/memcache.examples-overview.php |
||
13 | |||
14 | $memcache_config = array( |
||
15 | 'host' => "127.0.0.1", |
||
16 | 'port' => "11211", |
||
17 | 'authentification' => array( |
||
18 | 'enabled' => false, |
||
19 | 'user' => "", |
||
20 | 'password' => "" |
||
21 | ) |
||
22 | ); |
||
23 | |||
24 | ?> |
||
0 ignored issues
–
show
|
Using a closing tag in PHP files that only contain PHP code is not recommended as you might accidentally add whitespace after the closing tag which would then be output by PHP. This can cause severe problems, for example headers cannot be sent anymore.
A simple precaution is to leave off the closing tag as it is not required, and it also has no negative effects whatsoever.