Skip to main content
11
results
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my applications I need to run 8.1.x.  How do you switch the current PHP version?   Current version Check the current PHP version by executing the command php -vResponse: PHP 8.2.2 (cli) (built: Feb 5 2023 12:38:16) (NTS) Copyright (c) The PHP Group Zend Engine v4.2.2, Copyright (c) Zend Technologies with Zend OPcache v8.2.2, Copyright (c), by Zend Technologies  Unlink PHP To change your PHP version, begin...
Andrew Fletcher
Regular commands for brew   Brew update This updates Homebrew itself....
Andrew Fletcher
Currently, I have a situation where I have two repositories.  The first is...
Andrew Fletcher
Creating a bash script Bash scripts are files containing code that tell your...
Andrew Fletcher
When attempting to do a git push, are you getting the following...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working through the output for recently viewed pages... the code structure: <?php namespace Drupal\custom\Plugin\GetData\paragraph; use Drupal\custom\Plugin\GetData\ContentBase; use Drupal\custom\Plugin\GetData\ParagraphTrait; use Drupal\node\Entity\Node; /** * Provides Recent view pages data. * * @GetData( * id = "recent_view_pages", * title = @Translation("Recent view pages Data"), * ) */ class...
Andrew Fletcher
In this woalk through I am going to use GitHub.  However, the steps are...
Andrew Fletcher
In terminal I ran a regular command - compose update.  Something I've...
Andrew Fletcher
Wanting to create a new repository on GitHub, add in a few of the available...
Andrew Fletcher
Step 1: Install Homebrew Homebrew is the missing package manager for macOS. As...
Andrew Fletcher
As a process I apply patches locally first, then using git upload the update(s) to a development site on the server.  Once the testing has been completed, the final step to apply the patch to the production site.   Using Terminal or your preferred shell program, navigate to the correct directory.  Then run this command using the name of the patch file (example.patch): patch < example.patchHowever, if you are patching Drupal core then remember to patch from the root directory...