Skip to main content
103
results
Andrew Fletcher
I needed the check if a file existed in a directory as the migrate script wasn't recognising the file.  To check if a file exists: FILE={your-directory-path} if test -f "$FILE"; then echo "$FILE exists." fi  If your directory path is /Users/{your name}/Sites/migrate/local_dest_dir/fish/../media/apple-store.png FILE=/Users/{your name}/Sites/migrate/local_dest_dir/fish/../media/apple-store.png if test -f "$FILE"; then echo "$FILE...
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...
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 any text by searching for one or more matches of a specific search pattern. The basic anchors - ^ and $ expression action ^The matches any string that starts with The end$ matches a string that ends with end ^The end$ exact string match (starts and ends with The end) pragmatic matches any string that has the text pragmatic in it   The basic quantifiers — * + ? and...
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....
Andrew Fletcher
Working on a new CentOS 7 server, Node wasn't installed.  You can...
Andrew Fletcher
Using a Centos 6 or 7 server, how to check the current version of Apache? httpd...
Andrew Fletcher
Attempting to load changes in a staging site and the bountiful error page of Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. More information about this error may be available in the server error log.Looking through the error log, I had two messages...
Andrew Fletcher
Working through migration on a new Centos 7 server, the default mailbox size is...
Andrew Fletcher
Running a common composer command, post an upgrade on the server to Centos 7 and...
Andrew Fletcher
I'm receiving a server not found when logging in to Plesk from shell or...
Andrew Fletcher
This page shows a growing list of common commands for viewing and managing your...