Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Arief Zulianto
@cytopia can i have multiple php version and mysql version at once?
Pedro Machado Santa
Big shout to devilbox community :raised_hands: great project/tool.
@pedrosanta thanks!
@madzul not yet officially, but there is a ticket and also some proof of concept already: cytopia/devilbox#146
@paramigunasekara it's on the way: devilbox/docker-php-fpm#117
@thomasA4N ftp module is available in the PHP container, other than to get an FTP server in the stack, just add an FTP docker container to it via: https://devilbox.readthedocs.io/en/latest/configuration-files/docker-compose-override-yml.html
@paramigunasekara OAuth will be merged today: cytopia/devilbox#582
Parami Gunasekara
@cytopia Thank you!! devilbox is amazing!
Rodolfo Berrios
How can I connect to the database from an external application like DataGrip? I've tried to connect to '' and it always says that the password is wrong (using root user, blank password) default install on Ubuntu 19.
Rodolfo Berrios
nvm, tried 10.4 it worked, then 10.3 it worked. Most likely I'm drunk. Sorry.

Hi, i got the Following problem:

docker run -d \
--restart always \
--name bind \
--cap-add=NET_BIND_SERVICE \
--network=DOCKER_INTERN \
-p \
-p \
-t cytopia/bind

nslookup google.de


** server can't find google.de: REFUSED

fixed it. sorry. Got an IP-Clonflict
Kenjiro Ken Sarjonator
Who is usaged with Roots Bedrock Ansible for Automate some one else?
Share think to me please.
I don't use Roots bedrock with vagrant on vm because it slowly!
Omer Sabic
Hi guys, how do you properly run a php cronjob? If I run this command in CLI on the host /usr/local/bin/docker-compose exec php /usr/local/bin/php -v >> /home/omer/docker-scheduler.log it works... however adding this to crontab -e, it doesn't produce any output
entry in crontab:
* * * * * cd /home/omer/devilbox; /usr/local/bin/docker-compose exec php /usr/local/bin/php -v >> /home/omer/docker-scheduler.log
Omer Sabic
I figured it out... in the crontab entry, you need to add the -T parameter, so it's non interactive/tty
so this works: * * * * * cd /home/omer/devilbox; /usr/local/bin/docker-compose exec -T php /usr/local/bin/php -v >> /home/omer/docker-scheduler.log
hi there how do I add php 7.2.11 to my box
Watcharaphong Rattanasree
Hello, I need help.
I have build devilbox/php-fpm:7.3-prod in my docker that I used PDO_SQLSRV to connect my mssql database but it is not working so that message out is "SQLSTATE[IMSSP]: This extension requires the Microsoft ODBC Driver for SQL Server to communicate with SQL Server. Access the following URL to download the ODBC Driver for SQL Server for x64: https://go.microsoft.com/fwlink/?LinkId=163712".
Let me know how to solve it.
Omer Sabic
@watcharaphong.ra.bnh_gitlab , you need to use a startup script to install the ms odbc driver
in cfg/php-startup-7.3 you have the 02-ms-odbc-driver.sh-example file... copy and rename it, and inside set the ACCEPT_EULA to Y
here's the full documentation, but it does not account for the fact the example file is already there: https://devilbox.readthedocs.io/en/latest/autostart/custom-scripts-per-php-version.html#installing-microsoft-odbc-driver
Watcharaphong Rattanasree
@SlimDeluxe Thank you.

This is my Dockerfile that work well.

FROM devilbox/php-fpm:7.3-prod

RUN apt-get update && apt-get install -y wget gpg apt-transport-https ca-certificates
RUN wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.asc.gpg
RUN mv microsoft.asc.gpg /etc/apt/trusted.gpg.d/
RUN wget -q https://packages.microsoft.com/config/debian/9/prod.list
RUN mv prod.list /etc/apt/sources.list.d/microsoft-prod.list
RUN chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg
RUN chown root:root /etc/apt/sources.list.d/microsoft-prod.list
RUN apt-get update && ACCEPT_EULA=Y apt-get install -y msodbcsql17

I’m trying to configure php’s error_log path, via .\cfg\php-ini-5.6. I’ve created an .ini file there & can set other values, so I know PHP is picking up the .ini - however, no matter what value I set for error_log, phpinfo() always just shows /var/log/php/php-fpm.error. How can I get DevilBox to respect the value set for error_log (I'm trying to set a path like error_log = “${DOCUMENT_ROOT}/error_log.log”)?
(Note: I've been trying to get this solved for nearly eight weeks - also posted both on the forum, https://devilbox.discourse.group/t/php-ini-error-log-not-respected/135, and github, cytopia/devilbox#577. It seems to be extremely difficult to get replies from the developers :/)
Omer Sabic
I think they should run a patreon page so we can support the development and they can dedicate some of their professional time to the project
Hi guys, i am new to devilbox. Just want to know if any of you used it also for production and not just local development
Per Nielsen Tikær
Suddently my devilbox won't start: https://pastebin.com/xw6ZqzX6 - any advice?
Hi! I trying to start devibox at first time. I have problems when i use command docker-compose up. My errors is:
services.bind.ports is invalid: Invalid port "", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.bind.ports is invalid: Invalid port "", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.memcd.ports is invalid: Invalid port "", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.mongo.ports is invalid: Invalid port "", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.mysql.ports is invalid: Invalid port "", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.httpd.ports is invalid: Invalid port "", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.pgsql.ports is invalid: Invalid port "", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.redis.ports is invalid: Invalid port "", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.httpd.ports is invalid: Invalid port "", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
what can i do to fix it?
sorry, i understand! LOCAL_LISTEN_ADDR= must have : in the end if string

Hi guys!! I'm trying to run devilbox on production and it's working well. Also, I'm using it in only for one project, not multiple. But I'm trying to Install let's encrypt and it's being a struggle at the moment. Does someone have devilbox running on production? I tried to use this project mentioned on devilbox documentation: https://github.com/bigxu/nginx-acme.

But I'm also having problems with, because this project has not much documentation: Thanks!

Felix Mosheev
Hi all, there is any way to reverse proxy using nginx to some server on the host?
Felix Mosheev
Found the answer! on Mac you can access the host by pointing to: host.docker.internal :]
Hi all, does anybody know why Imagick on PHP 5.6 can't read PDF files? Is there any solution for this? Thanks
hello all I have done everything right but I can't show the file in the browser after adding htdocs and ./data/www and everything is fine but I still can't show the pages in localhost. am I missing something. please advise
Peter Nerád
hi i have some problem with bind container
forwarded dns response reach bind service .. but no output is given..
no response is giver.. sorry for my bad english
Peter Nerád
It is possible to add to bind container something like interface-automatic: yes ?
Peter Nerád
ok i do it myself..
i installed: Deadwood is a program that allows one to have a recursive DNS cache on their
Windows system.
Peter Nerád
Now AutoDNS is working like a charm (Docker Tools + VMware Workstation, no needs to manually edits hosts file on Windows)