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
0
votes
1 answer

DDEV to XAMPP connection configuration

I want to host a DDEV PHP project with XAMPP but I am getting an error, that the databse "db" could not be found. In DDEV, the values for host, username, password and database were 'db' but I dont know what I have to write now instead of 'db' to…
EStudent
  • 15
  • 5
0
votes
1 answer

How can I add gatsby-cli or sudo or other packages to a DDEV-Local add-on service like nodejs?

I am using a separate nodejs container as in How to use a separate node container in your ddev setup?, but I'd really like to add the gatsby-cli npm package to it, and maybe add sudo as well. I know how to add a custom Dockerfile to the web service…
rfay
  • 9,963
  • 1
  • 47
  • 89
0
votes
1 answer

Accessing webpack dev server output with specific port in ddev / docker container

On native Debian, I develop the following way: Webpack dev server: devServer: { host: "192.168.XX.XX", port: 8080, disableHostCheck: true, inline: true } Starting the webpack dev server manually by running npm run dev Files are now…
Mikel Wohlschlegel
  • 1,364
  • 1
  • 11
  • 23
0
votes
1 answer

unable to enable php-gmp for php7.4 with ddev

Because of this error message the requested PHP extension gmp is missing from your system I want to add the gmp extension to php 7.4 using DDEV. First I made a .ddev/php/ folder and created a 99-gmp.ini file. Second I added extension=php_gmp.so to…
Joehoe
  • 183
  • 3
  • 13
0
votes
1 answer

Modifying local DDEV Drupal settings.php for live server?

I'm using DDEV for local Drupal 9 development and it's great. Now, for the first time ever, I'm trying to take a local site and put it on my hosted server, which is an absolutely normal Linux and cPanel based hosting service. I "get" the basic…
0
votes
2 answers

Failed to download namelesscoder/fluid from dist

I've tried to install this package: https://github.com/TYPO3/Fluid.Lint as a dev requirement via: ddev composer require typo3fluid/fluid-lint --dev I am getting this error: ./composer.json has been updated Loading composer repositories with package…
Timo
  • 1
0
votes
0 answers

install module via cpanm in ddev

I wanted to create a panorama using Marzipano with a FlatView and therefor wanted to use an image which I have to split into different tiles. There is a free open source tool which can do that, called "entile":…
dave_zen
  • 41
  • 1
  • 1
  • 3
0
votes
1 answer

How can I install the ioncube loader in the DDEV-Local web container?

I'm using DDEV to develop an OXID Esales Project. It's very comfortable to work with but now I have to install the Ioncube Loader. How can I do that? I have to put the .so file into the php direction inside the container and extend the php.ini. But…
0
votes
3 answers

How can I composer global require hirak/prestissimo (or anything else) to DDEV-Local? (DON'T: Use Composer 2)

Edit: This question has gotten quite old and is no longer useful. Prestissimo isn't really useful any more now that Composer 2 is out. The way to use composer 2 in DDEV-Local v1.16 is ddev config --composer-version=2. In DDEV-Local v1.17 Composer 2…
rfay
  • 9,963
  • 1
  • 47
  • 89
0
votes
2 answers

Why does composer create-project for Drupal fail in WSL2?

I am a Drupal site builder experimenting with WSL2 and I am finding the routine creating a Drupal project with composer does not complete. My PC has 16GB RAM and composer is allowed unlimited memory. To the best of my understanding I have Docker…
0
votes
1 answer

"permission denied" on ~/.ddev/ssh-auth-compose.yaml and router-compose.yaml

I got a problem on running ddev on my ubuntu 20.04. Installation of ddev ran without any problems (ddev version v1.15.0), but if i try starting a container it always runs into following error: .PermissionError: [Errno 13] Permission denied:…
0
votes
1 answer

Failed to connect to localhost port 4444: connection refused on DDEV (docker) setup in drupal while running phpunit functional javascript tests

The test wasn't able to connect to your webdriver instance. For more information read core/tests/README.md. The original message while starting Mink: Could not open connection: Curl error thrown for http POST to …
harshal
  • 10,252
  • 3
  • 18
  • 23
0
votes
1 answer

If I use config.cron.yml with ddev, hooks from config.yaml will be ignored

I have a ddev running with TYPO3 and a hook, which copies an auth.json to ~/.composer/auth.json. If I use the following recipe ddev-contrib/…/cronjob from Github, only the hook from the config.cron.yml will be loaded. How can I load both hooks. Here…
MonTea
  • 1,166
  • 1
  • 13
  • 30
0
votes
1 answer

TYPO3 composer installation localy on ddev - The requested resource "" was not found

i have ddev running locally on my windows machine. I worked all the time on my TYPO3 installation, it was working fine and the only thing i did yesterday was to patch it from 9.5.18 to 9.5.19. Even after that, it worked fine. As i wanted to start…
shuffgy
  • 3
  • 1
0
votes
1 answer

Drupal 9 Default install MariaDB out of date

Hello I was following this tutorial here: https://drupalize.me/tutorial/set-demo-site-theming-practice?p=3290 then I realized since drupal 9 is out, by default drupal9 instead of drupa8.x is installed when running: composer create-project…