Questions tagged [ddev]

open source tool for setting up a local PHP development environment.

ddev is an open source tool for setting up a local PHP development environment, explicitly supporting Drupal, TYPO3, WordPress and Backdrop.

394 questions
4
votes
1 answer

Why do I see nginx headers when ddev is configured to use apache?

I updated ddev to version 1.3.0 and ran ddev config. After that I changed the configuration from nginx-fpm to apache-fpm. After starting ddev and checked the HTTP headers, there is nginx/1.15.3 used. Is there something else to do, to get Apache…
Chris
  • 427
  • 4
  • 13
4
votes
3 answers

Can I have Redis available in my DDEV container?

I use DDEV as a development environment for a TYPO3 project. I want to have Redis server available (for cache). How can I achieve that?
4
votes
1 answer

How can I use bash constructs like 'cd' or '&&' or '>' redirection with ddev exec?

I'm trying to do some complex things with bash in the container using ddev exec and can't seem to get it to work. For example, ddev exec cd /var/tmp results in a big error message Failed to execute command [cd /var/tmp]: Failed to run…
rfay
  • 9,963
  • 1
  • 47
  • 89
4
votes
2 answers

How can I run composer with ddev?

I need to run composer on my ddev project and don't have it on my Windows machine. For example, the project requires a composer install before startup. How can I use composer in this environment, especially on Windows?
rfay
  • 9,963
  • 1
  • 47
  • 89
3
votes
1 answer

macOS DDEV drush command Permission denied (Experimental docker settings)

When I updated ddev version 1.19.0 then drush command doesn't work. $ ddev drush OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "/mnt/ddev_config/.global_commands/web/drush": permission denied:…
3
votes
1 answer

How to expose a Nodejs app with DDEV web container on local port 80 - 443 with SSL

Expose nodejs app witch execute on port 3001 on DDEV web container, and access with local port 80 - 443 with SSL for access with https:myproject.ddev.site without add any port. All without create a new container docker-compose.*.yaml
M3JS
  • 51
  • 4
3
votes
3 answers

Typo3 Fatal error: Error\Exception: PHP Warning: gzuncompress()

I have updated my Typo3 ddev installation and i get this error: Fatal error: Uncaught TYPO3\CMS\Core\Error\Exception: PHP Warning: gzuncompress(): data error in /var/www/html/public/typo3/sysext/core/Classes/Cache/Backend/Typo3DatabaseBackend.php…
Mohamed Masmoudi
  • 547
  • 1
  • 9
  • 23
3
votes
1 answer

DDEV Project starts up site with http instead of https

I am running DDEV on a MacBook. DDEV used to deliver projects at https://projectname.ddev.site but now only starts up http://projectname.ddev.site. I cannot say exactly when this change happend. I am aware of the notice "mkcert may not be properly…
3
votes
3 answers

Private files in a DDEV Drupal environment

Here is something mysterious: I am running a Drupal 9 installation on Windows WSL2 with Docker and DDEV, which works great. Now I have decided to set up a private files directory for images. I have done so, following all the instructions (e.g.…
3
votes
2 answers

"Found orphan containers" when starting DDEV project

I added a redis third-party service and tested it (see redis example. Then I removed it. Now when I do a ddev start I see: Found orphan containers (ddev-d8composer-redis) for this project. If you removed or renamed this service in your compose…
rfay
  • 9,963
  • 1
  • 47
  • 89
3
votes
1 answer

How can I get SASS/Compass into the DDEV web container?

A client needs Compass for SASS compilation inside the DDEV-Local web container. How can I get compass in there?
rfay
  • 9,963
  • 1
  • 47
  • 89
3
votes
2 answers

When I try to use ssh in DDEV web container after `ddev auth ssh`, the ssh keys don't seem to work, "too many authentication failures"

I've used ddev auth ssh to add my ssh identities to my DDEV-Local projects. But when I use ssh to connect to an external host, ssh example.com I get "Too many authentication failures" Received disconnect from 174.127.116.22 port 22:2: Too many…
rfay
  • 9,963
  • 1
  • 47
  • 89
3
votes
2 answers

I see segment errors when issuing ddev commands (pi-hole?)

I see errors like this when issuing ddev commands: segment 2020/03/31 11:30:15 ERROR: sending request - Post https://api.segment.io/v1/batch: net/http: request canceled (Client.Timeout exceeded while awaiting headers) segment 2020/03/31 11:30:15…
rfay
  • 9,963
  • 1
  • 47
  • 89
3
votes
2 answers

How can I add basic authentication to the MailHog service in DDEV-Local

I have an unusual setup where I want to provide some authentication on the MailHog feature of DDEV-Local. How can I add basic authentication?
rfay
  • 9,963
  • 1
  • 47
  • 89
3
votes
3 answers

How to access phpmyadmin on DDEV Windows 10 pro localhost with SSL record too long error

I am using DDEv and Docker with Windows 10 pro to set up a localhost install of drupal 8.8 using Composer. I have set up and configured the local drupal installation (it is a fresh install) and it appears to be running correctly, but in the admin…
femrich
  • 35
  • 1
  • 6
1 2
3
26 27