-
-
Notifications
You must be signed in to change notification settings - Fork 657
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
Adding a custom .so module doesn't seem to work #190
Comments
Did you also adjust the path inside |
So according to this I add in
When I run docker-compose up the log states
I also tried with
but there is the same result The libcrytpo.so error has precedents, for example here, or here, but the files don't exist at the location the poster suggests copying from. |
Yes, looks like a library problem. Then you need to wait another 1-2 weeks until the new PHP Docker images will arrive |
This should fix your problem. Please let me know if it works ( |
I followed the three steps in #203 I also tweaked the .env file to make my app load, but only
When I run
|
Looks like official mongo container have some problems. I have tried mongo 2.8 and mongo 3.0, both crash. Mongo 3.2 works. Can you give it a shot. |
Looks like a mongodb problem. I have created an issue at their repository: |
Yes the 3.2 container sets up without error on I still get |
Then I was to quick closing this issue. So I will try to reproduce your error on my machine. Can you tell me what framework you have used and how it is configured (just the base, not the custom part), so i can get it working locally |
It's Symfony. The error arises from
I'm not sure how to say how it is configured but I will edit this answer when I can find out better information on the error. |
It seems you are using a deprecated mongo library version: https://secure.php.net/manual/en/class.mongoclient.php I try to see if this can be added anyway. |
Will be available after merge: devilbox/docker-php-fpm#5 |
I think this is working now as I have not seen the same I have some unrelated issues in the Symfony app, like JS not being run (presumably due to permissions errors) but I can try to work through those. |
Feel free to create a new ticket on your permission problems. I actually tried hard to make sure that especially permissions should never be an issue. Let's get this sorted. |
I am trying to install MongoClient (the deprecated
mongo.so
notmongodb.so
, but which I have working on my original system) in the devilbox container.I followed the instructions here
so
cp /usr/lib/php/20131226/mongo.so /var/www/devilbox/mod/php-fpm-5.6/
and
cp /etc/php/5.6/mods-available/mongo.ini /var/www/devilbox/cfg/php-fpm-5.6/00-mongo.ini
But in the container I am still seeing MongoClient not found.
Otherwise, normally, I can do something like
which works, except the restarting doesn't seem to be possible in the container.
Any ideas on how to proceed?
Container
PHP 5.6.33
MySQL 5.7
Apache 2.2
MongoDB (server) 2.8
Host
Ubuntu 16.04
Docker version 1.13.1, build 092cba3
docker-compose version 1.16.1, build 6d1ac21
The text was updated successfully, but these errors were encountered: