Category: DDEV
How to Install and Configure Memcached with WordPress on Ubuntu and DDEV
In this blog post, I’ll guide you on how to install Memcached on Ubuntu and DDEV to boost your website’s speed. We’ll also explore the configuration process and its integration with WordPress using the Object Cache 4 Everyone plugin, simplifying the steps to achieve enhanced site performance. What’s Memcached? Memcached is a high-performance, distributed memory…
How to Fix the ‘PHP Version Does Not Satisfy That Requirement’ Error in Composer for Drupal Projects
For those building Drupal websites, Composer is essential. It helps manage and add new website pieces, like modules and themes. But if you’ve ever felt lost about how Composer works, think of it as a helpful grocery shopper. Not sure about the analogy? Check out this article: “Understanding Composer: A Simple Analogy of Grocery Shopping…
How to Set Up Xdebug with DDEV in VSCode in 4 steps
How to Set Up Xdebug with DDEV in VSCode: In just four easy steps, enhance your coding and debugging experience in this popular editor, as detailed in this post. Xdebug is a debugging and profiling tool for PHP. It offers stack traces, variable inspection, and breakpoints, along with code coverage and performance profiling to optimize…
Proxying Media Files in a Local WordPress Development Environment with DDEV
Proxying media files in a local WordPress development environment is an essential skill for developers who want to ensure that their local site reflects the content and functionality of the live production site. Downloading all the media files to your local environment might not be the best solution, especially if the production site has a…
PHP Fatal error: Uncaught Error: Call to undefined method GuzzleHttp\Utils::chooseHandler() – Drush
In a local Drupal 9 site, set up using DDEV from a site hosted on Acquia, every time I need to run a drush command I get the following error: The workaround We need to install Drush in the project folder. running this command: composer require –dev drush/drush And then, we can execute the local…
How to switch from Docker Desktop to Colima for local development
What is Colima? Per the official documentation: Per ChatGPT: “It is a platform for managing and deploying Docker containers, which provides features such as orchestration, scaling, and automation.” Why switch to Colima? I found this blog post from the DDEV maintainer, Randy Fay, where we can see that the performance gains of Colima over the…
What are the benefits of PHP 8.1 and the Commands to upgrade from an older version on Nginx?
PHP 8.1 is the latest version of the popular server-side scripting language, and it brings a host of new features and improvements that make it a compelling choice for developers. In this article, we’ll highlight some of the key benefits of upgrading to PHP 8.1.
How to fix permission-denied issues when executing homebrew commands
I tried to update ddev to the latest version, using brew upgrade ddev in the terminal, and after each attempt I got a permission denied error. The solution that worked is the following command: