Skip to main content
95
results
Andrew Fletcher
To remove all the contents from a directory, you need to ask yourself: Do I want to remove everything including the directory itself? To remove a directory with all its contents (including all interior folders): rm -rf /path/to/directoryDo I want to keep the directory, but delete everything else? Need to remove all the contents of the directory (including all interior directories) but not the directory itself: rm -rf /path/to/directory/*What about the hidden files and directories? Wanting to...
Andrew Fletcher
How to Create New MySQL User Before you can create a new MySQL user, you need to...
Andrew Fletcher
This short guide explains to you how to extract/unzip .zip archive files to a...
Andrew Fletcher
I prefer htop over top on my Linux server.  Running a Solr index got...
Andrew Fletcher
The generally accepted answer to a mysqldump is: mysqldump -h [host] -u...
Andrew Fletcher
Wanting to create a new repository on GitHub, add in a few of the available options that can come with an initial repository such as: .gitignore for the platform you are building on README.md for detailed notes - particularly if the repository if public LICENSE - again important if the repository if public However, once you add one or more of these items, you will need to merge the repository with your local environment.  This article walks through creating a new GitHub repository and...
Andrew Fletcher
On a git pull from remote dev environment to a staging environment running off...
Andrew Fletcher
I needed the check if a file existed in a directory as the migrate script wasn't...
Andrew Fletcher
Joining a new company / team there is always a lot of new items to...
Andrew Fletcher
Updating Drupal from 8.7.10 to 8.8.x or 8.9.x has seen a significant change...
Andrew Fletcher
As outlined in an earlier article composer php version, when installing the latest version of Drupal the Plesk version and the server version can be different.  In plesk, the version of PHP is 7.3.18, whereas, on the Centos server a check through Terminal (php -v) shows PHP 7.1.33 (cli). When attempting to install Drupal 9 through composer, the following errors will be shown: Problem 1 - drupal/core-composer-scaffold 9.1.x-dev requires php >=7.3.0 -> your PHP version...
Andrew Fletcher
I had been running a few Centos 6 servers just past their EOL (30th November...
Andrew Fletcher
Regular expressions (regex) are extremely useful in extracting information from...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The...
Andrew Fletcher
Don't worry this is an issue that many Drupal developers have come across....