Skip to main content
116
results
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
Working in Laravel, I needed to loop through an array and know whether the...
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 -vThis command will return a string that is similar to the following: Server version: Apache/2.4.6 (CentOS) Server built:   Nov 16 2020 16:18:20If you want to find where the httpd binaries are located use the following: whereis httpdThis command will return something like: httpd: /usr/sbin/httpd.worker /usr/sbin/httpd.event /usr/sbin/httpd /etc/httpd /usr/lib64/httpd ...
Andrew Fletcher
Attempting to load changes in a staging site and the bountiful error page...
Andrew Fletcher
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI...
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 Terminal.  Specifically the error message I'm receiving is Can't connect to the server My first reference for this fix is to run the command  sudo service httpd restartRunning this command you will see the following in Terminal Stopping httpd: [ OK ] Starting httpd: [ OK ]If this doesn't fix your error... and it didn't for...
Andrew Fletcher
This page shows a growing list of common commands for viewing and managing your...
Andrew Fletcher
Whilst updating nodejs and npm on a Centos 6 or 7 server running Apache, I...
Andrew Fletcher
For what reason would you need to find the identity of the current user? You are...
Andrew Fletcher
I started out with a simple task... install Tailwindcss.  What unfolded is...