-
Description:After a correct installation of the mongodb driver for php I installed using composer in a laravel project this library. Steps to reproduce
To enable extensions, verify that they are enabled in your .ini files:
Expected behaviourI tried editing permission and some configuration file in order to execute correctly the request but nothing Actual behaviourI recieved a 502 Bad gateway error due to php-fpm SIGSEGV |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
Hello, I don't see how your error related to this library at all. As it has been already said you've misconfigured your docker/php installation and still you didn't provide actual php errors. That's really sad. Thanks! |
Beta Was this translation helpful? Give feedback.
-
You can see on this configuration https://github.com/Smolevich/demo-mongo-application/blob/master/docker-compose.yml for example |
Beta Was this translation helpful? Give feedback.
-
@divine I haven't other php logs, i tried to setup a log folder, but nothing has been created. this belowe is my php info config file |
Beta Was this translation helpful? Give feedback.
-
this code is in my laravel route without the library i can be able to execute the commands |
Beta Was this translation helpful? Give feedback.
-
@divine @Smolevich I did some debug on the service and in the connection string $config the password was not taken, the library doesn't show to me a connection error but the 502 php fpm error. I cleared the laravel config:cache and it works unexpectedly |
Beta Was this translation helpful? Give feedback.
Hello,
I don't see how your error related to this library at all. As it has been already said you've misconfigured your docker/php installation and still you didn't provide actual php errors.
That's really sad.
Thanks!