Skip to content
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

lumen - Fatal error: Class 'Memcached' #1

Open
matiux opened this issue Jun 15, 2015 · 0 comments
Open

lumen - Fatal error: Class 'Memcached' #1

matiux opened this issue Jun 15, 2015 · 0 comments

Comments

@matiux
Copy link

matiux commented Jun 15, 2015

In a Lumen application, I need to work with more databases. So, according to documentation, I have created the "config" directory in my root and I have copied the database.php from /vendor/laravel/lumen-framework/config/database.php so I can define an array with all my databases (like in laravel).

The problem is that when I run my application, I get this error:

PHP Fatal error: Class 'Memcached' not found in ..../vendor/illuminate/cache/MemcachedConnector.php on line 52

I don't understand what say to my app to use Memcached... in "config" directory I have also copied cache.php, setting the default param as well:

'default' => env('CACHE_DRIVER', 'array')

although for now I don't need to use cache...

If I disable holidaypirates/bugsnag-lumen the response is right, 404 with "Sorry, the page you are looking for could not be found." message

How can I solve? 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

1 participant