Skip to content

Class 'Symfony\Component\ClassLoader\ClassCollectionLoader' not found #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
skedone opened this issue Jul 28, 2015 · 4 comments
Closed

Comments

@skedone
Copy link

skedone commented Jul 28, 2015

Cloned the repository php-pm.
I required the httpKernel interface but, when I try to load a new sf2.7 installation, it doesn't work.

root@billow:/var/opt/php-pm# ./bin/ppm start --workers 1 /var/opt/hashmag/ --bridge=httpKernel -vvv
1 slaves (5501) up and ready.
PHP Fatal error:  Class 'Symfony\Component\ClassLoader\ClassCollectionLoader' not found in /var/opt/php-pm/vendor/symfony/http-kernel/Kernel.php on line 443
Boot 1 new slaves ... 1 slaves (5501) up and ready.

Am I missing something? Thanks!

@andig
Copy link
Contributor

andig commented Jul 28, 2015

Mhhm. ClassLoader is only require-dev in Symfony 2.7. Sounds like a Symfony issue to me?

@skedone
Copy link
Author

skedone commented Jul 28, 2015

If I start the internal webserver in Symfony2 or use NGINX + PHP-FPM, everything is ok.
I am trying to investigate.

@andig
Copy link
Contributor

andig commented Jul 31, 2015

You could check what/why loadClassCache at https://github.com/symfony/HttpKernel/blob/2.7/Kernel.php#L387 is being called in the one instance but not the other.

@skedone
Copy link
Author

skedone commented Aug 10, 2015

Symfony issue, thanks! ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants