Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Dan Bryant
javascript:(function() {document.cookie='XDEBUG_SESSION='+'VSCODE'+';path=/;';})()
To add that, right click (or ctrl+click) the Chrome bookmark bar then choose "Add Page":
Dan Bryant
GIve the cook a name, slop in the js code above, save the book, and you're all setup with a shiny new bookmarklet that gives you "I can connect to a vscode + xdebug session" superpowers:
To make sure everything is A<=>B you can shell into the devilbox and give the xdebug.log file, specified in the xdebug.ini file (above) a tail -f:
 tail -f /var/log/php/xdebug.log
if everything is connecting you'll get this bit of magic pixie powder:
Dan Bryant
[22630] Log opened at 2021-09-15 22:37:18.304575
[22630] [Step Debug] INFO: Connecting to configured address/port:
[22630] [Step Debug] INFO: Connected to debugging client: (through xdebug.client_host/xdebug.client_port). :-)
... dig the smiley face on the end; because awesome, thats why.
Dan Bryant
Anyway. Maybe someone can help me out with a problem of my own. After sitting on an xdebug breakpoint too long, proxy_fcgi (probably) decides that I'm done with the connection and barfs out these errors:
==> log/apache-2.4/qualitydigest.com-error.log <==
[Wed Sep 15 16:46:59.355296 2021] [proxy_fcgi:error] [pid 1097:tid 140406884910848] [client] AH01067: Failed to read FastCGI header, referer: http://somesite.com.loc/
[Wed Sep 15 16:46:59.356665 2021] [proxy_fcgi:error] [pid 1097:tid 140406884910848] (104)Connection reset by peer: [client] AH01075: Error dispatching request to : , referer: http://somesite.com.loc/

==> log/apache-2.4/somesite.com-access.log <== - - [15/Sep/2021:16:44:44 -0600] "GET / HTTP/1.1" 503 299 "http://somesite.com.loc/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:92.0) Gecko/20100101 Firefox/92.0"
Does anyone know how to keep proxy_fcgi — or whatever part of the stack gets bored with me looking at the contents of variables — from timing out and punching back with a 503?

Hi all, I'm stuck on something and I could use some help.

I'm having Postman send over a GET request with an Authorization header, but it's not getting to PHP. Apache is probably discarding it, for security reasons. I have tried several ways to tell Apache NOT to do this, but nothing is working. Here's what I've tried:

  1. Adding custom vhost templates to /my-project/.devilbox with the appropriate directives, and confirmed they're being picked up
  2. Adding a custom .conf file to /devilbox/cfg/apache-2.4
  3. Making changes directly to my .htaccess files in my webapp (CakePHP v3)

I've restarted the Devilbox countless times but I'm getting nowhere with this. Any help would be appreciated.

Does someone have any docs on using Devilbox with mutagen? I read it increases speed a lot. Docker is slow on Mac.
Hi, I have a problem with mysql since it does not run and gives me an error, what could it be?
Can anyone point me to the documentation or explain to me how I can use the work flavor container. It is set in my docker compose, but I am still missing the drush tool.
3 replies
Nvm. my question, I am now sure I am running the work container. It just doesn't contain drush. If anyone could explain to me how to get drush in there I would be grateful. If I read this correctly it should already be? https://github.com/devilbox/docker-php-fpm
Raa'Shaun Hunter
I've been following the installation instructions and I've reached the point where I'm supposed to be able to access the Devilbox intranet. However, when I try to access it on the port I've assigned in the .env file (the machine I run my containers on has a web server that uses ports 80 & 443 so I assigned Devilbox to 30080 and 30443), I get a connection timeout message in Chrome. I'm accessing this from another machine on the same LAN, would that be a problem?
Raa'Shaun Hunter
I've tried using curl to grab the intranet webpage for devilbox from the machine that my docker containers live on and I received the correct page. However, I can't access it from any other machines. Is it only supposed to be accessible from localhost?
3 replies
Hi, I'm trying to install devilbox on my machine and I'm able to access the intranet from my local machine. I keep getting a timeout and I can't figure out what I'm doing wrong

Hi, I have 2 devilbox instances running on my docker.

lets says devilbox 1 is running service at backend.loc and devilbox 2 is running service at frontend.loc

is there a way to make the service in devilbox 2 (frontend.loc) able to access backend.loc?

Hi, how can I add crontab? crontab -e * php -q "/var/www/html/cron.php" >/dev/null 2>&1
I tried connect to container Httpd and php to add : update; install cron; and crontab -e; add >> crontab -e * php -q "/var/www/html/cron.php" >/dev/null 2>&1 ... But not work. could someone hlep. Thanks
Matei Nicolae - Daniel
How can I enable OpenSSL on Devilbox? I am trying to test something that involves curl, but I get this error: error:1425F102:SSL routines:ssl_choose_client_version:unsupported protocol
Raa'Shaun Hunter
I'm running devilbox in Docker on a Synology DS220+ and I have the No Host DNS record found. Add the following to /etc/hosts: debitpay.loc error. Do I add this the the NAS' hosts file or the one inside the container?
Raa'Shaun Hunter
I've added this line (as well as ::1 debitpay.loc) to the NAS' hosts file and nothing changed even after restarting the NAS (and therefore all of the containers). What should I try now?
Peter Nerád
@CardcaptorRLH85 Add nameserver to your dns network resolution setup at NAS at first place. If you use some dns service on NAS, add forwarding to for your development domain.
6 replies
Matei Nicolae - Daniel
service "pgsql" refers to undefined volume devilbox-pgsql-13.0: invalid compose project I get this error after updating the Devilbox to version 2.0.0
1 reply
Matei Nicolae - Daniel
how can i
1 reply
enable display_errors on
you most likely don't need that
did you check container logs?

Hi everyone, there is finally a new feature release that adds full arm64 support for anyone that already has a Mac M1 notebook :-)


Nice 👍 any idea if it should work on arm64 Raspberry Pi? Eg Pi Zero 2 or Pi 4
1 reply
That’s huge 👍 So Raspi 3,4 and zero2!
I see this project gaining more popularity as a result. Portable pocket sized development env 🔥

Another release has been drafted: https://github.com/cytopia/devilbox/releases/tag/v2.2.0

This one adds the ability to easily create custom PHP-FPM images (based upon the official Devilbox images). I.e, you're now able to add lots of tools and create your own set of PHP flavours

Ezequias Lopes
I'm using DevilBox on Windows. This is is my first time using Docker. I wanted to know if it's possible to change this CLI. It's horrible and doesn't have any shortcuts.
1 reply

Hello i like this project, https://github.com/cytopia/docker-bind,
Before i deep dive, i would like to check if this will solve my use case.

My use case : I have domain registered and want to have private DNS on subdomain. For Ex. priv.example.com using this bind9 project.
I have CA/Letsencrypt server running under this subdomain. Ex. CA.example.com
Now i have clients with acme connecting to this domain for certs authority to validate by the protocols(( DNS-01, http-01, tls-alpn-01) For ex. A DNS validation should be added in the private DNS.( like clienthost1.priv.example.com)
This entry should added in to the DNS so the acme client can do DNS-01 validation.
So the Sub.sub.domain.com should be added dynamically as A record.

For the above requirement, can this docker-bind project solve my need. ? if yes.. any doc ref...

1 reply
anthony popejoy
Théo D

Hello all ! how are you ?

I have a request, for tests i need use the following "chrome-php/chrome" package.

I can't install chrome correctly, I've tried several images but I can't get it to work... has someone already succeeded?

Good afternoon, how can I access s Virtual Host using only IP for my LAN, I don't want to use domains names, neither want to configure the domain for each device in the LAN, can someone help me out with this?
Hi all, devilbox is using docker, is it possible to replace docker to podmand / rancher?
Matei Nicolae - Daniel
do somebody know why I can't export a database from devilbox phpmyadmin?
Rodolfo de Souza Pereira
Goodnight. How are you? Hope so!
Please, how do I access my projects by cell phone?
How do I allow sub directories?