Skip to main content
16
results
Andrew Fletcher
Update Ubuntu 20.04 To begin update the server using the command sudo apt update && sudo apt upgrade -yFor more details about this process see How To Update All Packages Linux.   PHP version Check the current PHP version using php -vThe response I had was PHP 7.4.3 (cli) (built: Nov 2 2022 09:53:44) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies  Install...
Andrew Fletcher
Installing PHP on OSX and it installed PHP 8.2.x.  However, for my...
Andrew Fletcher
Regular commands for brew   Brew update This updates Homebrew itself....
Andrew Fletcher
  JSON structure Outlining the structure of the elements common attributes:...
Andrew Fletcher
In this instance, I'll check the beginning of the string.  I want to focus...
Andrew Fletcher
Working from the bases that .DS_Store has not been added to your git repository, then you can add it to your .gitignore file. touch .gitignoreIn the .gitignore file add the following # Hide the DS_Store files **/.DS_StoreHowever, if it's already there, then in Terminal you will need to write: find . -name .DS_Store -print0 | xargs -0 git rm -f --ignore-unmatchFinally commit to repo git commit -m "Remove .DS_Store" git push origin...
Andrew Fletcher
To sort through a multidimensional array seems to be a function that I...
Andrew Fletcher
phpcs issue in Visual Studio Code, I'm receiving this warning in VS...
Andrew Fletcher
Had the situation where you are running composer however, the scripts stops with...
Andrew Fletcher
Oh the treasure of a client coming to you with a site they have removed the...
Andrew Fletcher
In terminal I ran a regular command - compose update.  Something I've completed thousands of times previously.  However, this time I received the following response: env: php: No such file or directory  What gives? Well, thinking through what had recently changed... The only major change was upgrading OSX to Monterey.  So a little of Googling and found yep this could be the cause.  PHP has been removed from MacOS since v12 (Monterey), so you first need to...
Andrew Fletcher
I installed Lando 3.6.2 and Laravel 9.  When I visit the web page, I...
Andrew Fletcher
Updating to PHP 8.1, I found this interesting code stop... Deprecated function:...
Andrew Fletcher
Running Docker Dangerous word... I'm assuming that Docker is installed....
Andrew Fletcher
A bug bear that I have had for a while with Drupal content is how come the...