OSX, Apache 2.4, PHP 5.6.27
Linux, Apache 2.4, PHP 5.6.28
clean Symfony Demo install with:
$ symfony demo
point browser to:
http://localhost/symfony_demo/web/en/blog/
choose:
Browse Application
Back to blog
and always get this Fatal error under OSX:
PHP Fatal error: Cannot redeclare class Symfony\Component\HttpFoundation\ResponseHeaderBag in /Users/User/Sites/symfony_demo/var/cache/prod/classes.php on line 4491
or
PHP Fatal error: Cannot redeclare class Symfony\Component\HttpFoundation\Response in /Users/User/Sites/symfony_demo/var/cache/prod/classes.php on line 3777
and under Linux:
PHP Fatal error: Cannot redeclare class Symfony\Component\HttpFoundation\ResponseHeaderBag in /var/www/symfony_demo/var/cache/prod/classes.php on line 4491
clearing cache helps exactly one time, up to server recreates cache files
error reproduces in Chrome, Firefox, Safari
OSX, Apache 2.4, PHP 5.6.27
Linux, Apache 2.4, PHP 5.6.28
clean Symfony Demo install with:
$ symfony demo
point browser to:
http://localhost/symfony_demo/web/en/blog/
choose:
Browse Application
Back to blog
and always get this Fatal error under OSX:
PHP Fatal error: Cannot redeclare class Symfony\Component\HttpFoundation\ResponseHeaderBag in /Users/User/Sites/symfony_demo/var/cache/prod/classes.php on line 4491
or
PHP Fatal error: Cannot redeclare class Symfony\Component\HttpFoundation\Response in /Users/User/Sites/symfony_demo/var/cache/prod/classes.php on line 3777
and under Linux:
PHP Fatal error: Cannot redeclare class Symfony\Component\HttpFoundation\ResponseHeaderBag in /var/www/symfony_demo/var/cache/prod/classes.php on line 4491
clearing cache helps exactly one time, up to server recreates cache files
error reproduces in Chrome, Firefox, Safari