Questions tagged [ddev]

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

Filter by
Sorted by
Tagged with
1 vote
2 answers
79 views

How can I install Xdebug on DDEV for PHP 8.3 before it's ready in a release?

DDEV v1.22.5 has support for PHP 8.3.0, but it does not yet have xdebug. How can I get xdebug before it's released in the upstream repositories?
rfay's user avatar
  • 10.4k
0 votes
1 answer
13 views

DDEV Giving Error when using Composer Create

When trying to create a new Silverstripe 5 site using composer create, i get this error: 5demo ❯ ls -la ...
Will's user avatar
  • 4,554
2 votes
1 answer
25 views

Is there a way to use 1Password in combination with DDEV and colima?

I'd like to use the SSH agent feature of 1Password in combination with my DDEV projects that run with colima as its docker provider. That means that the DDEV web container is able to use the SSH keys ...
denis's user avatar
  • 1,443
0 votes
0 answers
75 views

How to debug Behat test with Xdebug in PhpStorm?

Question: I'm encountering issues while attempting to debug Behat tests using Xdebug within a Drupal context. Despite setting breakpoints, the debugger isn't stepping into Drupal context functions or ...
Mykyta Nalchadzhy's user avatar
0 votes
0 answers
41 views

CORS still blocked between two DDEV sites

I'm trying to make an ajax call to Site A from Site B. I've edited the nginx-site.conf file and removed the #ddev-generated comment so my changes aren't removed on ddev restart. This was added in the ...
good_afternoon's user avatar
0 votes
0 answers
26 views

ddev snapshot fails with bash "Is a directory" error

I have several DDEV sites. Each one has multiple git branches, with a snapshot on each branch. Before I change a branch, I delete the snapshot and take a new one. The branches randomly start to fail ...
misthufe's user avatar
0 votes
1 answer
37 views

ddev and vscode for Drupal, what should I use for php.validate.executablePath?

I installed ddev on macOs Sonoma. I installed Drupal via ddev in folder /Users/darkokan/sites/review-dev-d10 I can start Drupal with: ddev launch command and it works fine. When I open vscode I get ...
Darko Kantic's user avatar
-2 votes
0 answers
39 views

Vite main css not found

Hello everyone here is the correct path to my main.css file (packages\colin_frontend\Resources\Public\CompiledFiles\assets\main.css) but I get a not found error in console <?php namespace Colin\...
GameOverflow's user avatar
0 votes
1 answer
49 views

Include css file with changing hash number via includeCss

I want to include my main.css file via includeCss in the setup.typoscript. Maybe there is a better option? includeCSS { svelte_demo_layout = EXT:svelte_demo/Resources/Public/...
GameOverflow's user avatar
0 votes
0 answers
30 views

Compiled scss and js files are not included

I cloned this repository and would like to load my scss code in the frontend. It gets compiled correctly into a css file in "Resources/Public/CompiledJavaScript/assets/", but only the "...
GameOverflow's user avatar
0 votes
0 answers
55 views

Vite main.js file not found error in console

I try to setup vite for my typo3 website thats running on ddev docker. "Npm run dev" and "npm run build" working fine in the console. [npm run build] (https://i.stack.imgur.com/...
GameOverflow's user avatar
-1 votes
0 answers
32 views

ddev Drupal 9 Php 8.1 Custom Dockerfile for Oracle Client and OCI8

A ddev and Drupal novice, I would like to connect my local ddev Drupal 9/ PHP8.1 sandbox site to an Oracle database using an Oracle Client and OCI8. How do I setup a ddev custom Dockerfile for PHP 8.1,...
wil blake's user avatar
0 votes
0 answers
19 views

Projects not starting after DDEV update?

I was trying to get Xdebug working with DDEV and VSCODE. Finally, I decided to try to update DDEV to the latest version. I did that, and somehow Xdebug started working, which was great. Then I shut ...
atomiclupine's user avatar
0 votes
1 answer
109 views

DDEV: Can't Access Site Via Hostname, hosts File Not Updated

I created a new DDEV project in an empty directory with ddev config. Then I used ddev start, and confirmed the project was running with ddev describe. So far so good. When I access the project via ...
kmgdev's user avatar
  • 2,659
0 votes
0 answers
22 views

How do you set up terminal colours in DDEV?

When I do ddev ssh it's all black text. How do I get standard terminal colours to show?
joachim's user avatar
  • 29k
0 votes
1 answer
86 views

DDEV port conflicts on port 443 (plesk?)

Suddenly, I had database connection problems at TYPO3 instance (An exception occurred in the driver: php_network_getaddresses: getaddrinfo for db failed: Temporary failure in name resolution). So I ...
peni4142's user avatar
  • 455
0 votes
1 answer
68 views

Using DDEV in WSL without being Win admin

We have a Win 11 PC used by a developer (Jhon) and administered by an IT admin (Frank). On this PC we have WSL, on which runs Ubuntu (administered directly by Jhon), on which runs DDEV. When Jhon ...
Francesco Pesce's user avatar
1 vote
0 answers
23 views

Spatie/Ray package within a wordpress plugin

I'm having issues getting the spatie/ray package up and running within a ddev wordpress site. I am currently working on a plugin, and have spatie/ray included with composer as a dev dependency. The ...
Liquidonthedrums's user avatar
1 vote
1 answer
102 views

DDEV ERROR 1049 (42000): Unknown database 'db'

I accidentally deleted my default db database without re-creating it, but had exit the container and now I can't ddev ssh into the project or even connect to mysql. Project is not currently running. ...
baikho's user avatar
  • 5,245
0 votes
2 answers
104 views

How can I add a secondary group to the user of the docker container with ddev?

When starting a container through a ddev project, the user id and primary group id are replicated from the host into the container. How can I also replicate the group ids for the secondary groups in ...
natuk's user avatar
  • 1
0 votes
0 answers
94 views

DDEV Router Unhealthy State in TYPO3 Setup: Health Check Timed Out

I am setting up a TYPO3 project using DDEV. I've successfully configured the project and started all the containers, except for ddev-router, which is stuck in an unhealthy state. I've tried debugging ...
Liné cuse's user avatar
-2 votes
1 answer
70 views

I need to add an SSH key to run inside my DDEV Docker container

I have just pulled a repo from BitBucket and attempted to run 'composer install' from inside my docker terminal. The composer.json file has additional respository dependancies which need to be pulled ...
DieselHashtag's user avatar
0 votes
1 answer
186 views

404 Page not found on ddev TYPO3 installation

I have herited a project that is running good on the client side. The website is a TYPO3 Based on ddev composer setup. When i started the containers and go to the website url (backend or frontend) it ...
Mohamed Masmoudi's user avatar
0 votes
1 answer
65 views

DDEV Share not loading images or CSS on Craft CMS

I am trying to use the Ddev share command to view my local Craft sites on seperate devices using the ddev share command. The share url is working however my site is only loading the html and not ...
Matt B's user avatar
  • 11
0 votes
1 answer
183 views

DDEV install - your installed WSL2 distro does not seem to be Ubuntu

I'm trying to install DDEV, along with Docker Desktop, on Windows 11 using the instructions provided on this web page. I have verified that I have an Ubuntu distro set as default: PS C:\Users\USER> ...
Kim's user avatar
  • 33
0 votes
1 answer
107 views

ddev not starting correctly

I am new to ddev and am using mac os 13. I used the following tutorial. https://ddev.com/get-started/ But when I run the ddev start command, ddev doesn't work properly. Related to this, the docker ...
Madhawa's user avatar
  • 134
-1 votes
1 answer
69 views

How can I install Moodle with DDEV?

I was trying to install Moodle LMS using ddev. -- The problem is that Moodle requires mariadb 10.6, whilst ddev only supports mariadb 10.4. Steps tried: change the .ddev/config.ph docker file from 10....
user3871979's user avatar
0 votes
1 answer
39 views

Is it possible to store a ddev snapshot in a different place?

Looking the docs and the web, I didn't find an answer for that. I would like to change by default the place where the ddev snapshots are stored without a symlink to a different folder. Is that ...
pmichelazzo's user avatar
0 votes
2 answers
82 views

ddev with RaspberryPi 4 and Ubuntu Server 22?

I got some new Raspberry Pi 4 with 8GB ram to replace some mini servers that I have in my office network. Normally I use the Ubuntu Server 22.04 (jammy) on my mini servers and ddev works well. ...
pmichelazzo's user avatar
0 votes
1 answer
305 views

Why is my new ddev Drupal 10 project failing to start?

I have many ddev projects on my Mac. This is the first where I'm starting a new Drupal 10 project rather than upgrading a Drupal 9 site. I clone the Pantheon repo cd to the repo composer install ddev ...
JAyenGreen's user avatar
  • 1,385
1 vote
1 answer
336 views

How can i resolve "unknown flag: --progress" error when ddev start?

I'm trying to start my drupal 9 site with ddev and I am having an error unknown flag: --progress The result when I type ddev version: ITEM VALUE DDEV ...
Martin Sanchez's user avatar
0 votes
1 answer
165 views

Shopware 6.5 Twig Exceptions: Blank Page instead of Symfony Error Page

Twig Exceptions not displaying as Error Page in Shopware 6.5 using DDEV I initialized a new Shopware 6.5 Project with ddev using the symfony flex template. Normally, any exception in the symfony-...
FriedrichKeydel's user avatar
0 votes
1 answer
30 views

Camunda and Drupal Integration File Not found

I am working with drupal camunda integration. I have used DDEV for the setup of Drupal. my system version are: Drupal version 10.1.1, Web Server Nginx/1.22.1, PHP Version 8.1.16 Database Version 10.4....
enstazao's user avatar
  • 121
0 votes
0 answers
76 views

Wordpress Elementor Upload on another Server resets CSS Styles

Hey I have a ddev instance of my wordpress website. If I Upload my stuff via phpmyadmin and SFTP to a Webhost called one.com or Ionos.de, everything works fine and styles are loaded. As soon as I try ...
Fynn Menk's user avatar
0 votes
1 answer
2k views

Could not connect to a docker provider. Please start or install a docker provider

I am installing Drupal on Linux(Ubuntu 20.04) using ddev. ddev requires docker installed and in Ubuntu, I can connect with docker using sudo. If I want to check for the running container I will use ...
enstazao's user avatar
  • 121
0 votes
1 answer
153 views

Including wp-config.local.php file

I have followed the setup instruction for local development of a wordpress project. I am wanting to define some additional constants in wp-config.php, but referring to the documentation at https://...
Liquidonthedrums's user avatar
1 vote
1 answer
136 views

`ddev composer create` failed - Docker Desktop for Linux

I am trying to install drupal 10 using ddev. I followed the instructions here: https://ddev.readthedocs.io/en/latest/users/quickstart/#drupal The process fails at step 5. $ ddev composer create drupal/...
Ben Alan's user avatar
  • 1,431
0 votes
1 answer
87 views

DDEV OCI runtime exec failed (TYPO3 `ddev typo3cms` command)

Recently I have issues with DDEV. It’s across different git repositories, so I think that has to do with DDEV or Colima. ddev version v1.21.6 colima version 0.5.5 macOS Ventura 13.4.1 Macbook Pro M1 ...
Florian's user avatar
  • 31
1 vote
1 answer
83 views

How to add the pdflib extension in ddev's web container?

I'm wondering how we could add the php extension pdflib to the ddev's web container?
alpham8's user avatar
  • 1,322
0 votes
1 answer
56 views

DDEV: Vanilla WordPress config creates port 80 conflict between web and dba containers

Following these simple instructions I've created a vanilla WordPress installation of DDEV. However, when I try to start it, I get the error Failed to start MYSITE: Unable to listen on required ports, ...
Tyler V.'s user avatar
  • 2,481
0 votes
1 answer
220 views

Why is connection refused to database in ddev?

For: $conn = new mysqli('127.0.0.1', 'db', 'db', 'db'); I get: mysqli_sql_exception: Connection refused And for: $conn = new mysqli('localhost', 'db', 'db', 'db'); I get: mysqli_sql_exception: No ...
therobyouknow's user avatar
1 vote
1 answer
161 views

ddev pull command errors at importing files from remote dev env

I am trying to setup DDEV on a Drupal 10 project pulled from Acquia Cloud Platform. Following the docs related to Acquia integration, I got to the point where the DB is imported as expected, but I get ...
Alex_Dms's user avatar
  • 157
-1 votes
1 answer
217 views

How to change ddev php container docroot path from /var/www/html

I need to change the docroot path that ddev sets up in the php container because I have some code that has already had an html folder in its source and bespoke include path determination is not ...
therobyouknow's user avatar
0 votes
0 answers
32 views

The host Kernel kills mysql:5.6 container (Arch Linux)

When trying to start a project with MySQL 5.6, the ddev health check for the db container fails. mkdir ddev-test-mysql56 && cd $_ ddev config --database mysql:5.6 ddev start $ ddev start ...
Jonas Eberle's user avatar
  • 2,835
0 votes
1 answer
525 views

WSL2 with Docker Desktop: ddev.exe not found in $PATH, please install it on Windows side;

I am trying to start a ddev environment using the command ddev start, but I keep getting the error message ddev.exe not found in $PATH please install it on Windows side; err=exec: "ddev.exe":...
Seppel's user avatar
  • 3
0 votes
1 answer
315 views

PhpStorm and Docker - Unable to configure the Remote PHP interpreter (Failed to parse script validation output)

I'm using Docker composer with a PHP. When trying to set the interpreter I choose Docker compose and connecting with existing container and then it fails with the error Failed to parse script ...
Minal's user avatar
  • 11
0 votes
1 answer
227 views

Magento2: 503: No ddev back-end site available

I am trying to install magento on my linux machine. I am using ddev quick start for magento . https://ddev.readthedocs.io/en/stable/users/quickstart/#magento-2 I am getting the following error for ...
jazyac's user avatar
  • 3
-1 votes
1 answer
65 views

ecryptfs: DDev Magento linux quick start setup failing on "file name too long"

Ubuntu details: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS" I am trying to install magento on my linux machine. I am using ddev ...
jazyac's user avatar
  • 3
-1 votes
1 answer
389 views

Trouble connecting to the database in a Craft CMS project with DDEV and TablePlus, how can I fix this?

I'm trying to upgrade from Craft CMS 3 to Craft CMS 4 and am running into some issues. I am trying to migrate my project in Craft 3 from using MAMP Pro to ddev and had some success in the start. I ...
SebastianN's user avatar
2 votes
1 answer
211 views

DDEV/PhpStorm - invalid ddev-docker-compose-full.yaml

DDEV/PhpStorm - invalid ddev-docker-compose-full.yaml I'm trying to setup PhpStorm CLI interpreter and face this... I found that PhpStorm has/had problems with docker-compose2, but did not find a ...
sv3n's user avatar
  • 317

1
2 3 4 5
9