Development

Going through and updating systems to newer versions of PHP8.1 and mariadb on a newly installed FreeBSD 13.1 system. When attempting to connect to the default “localhost”, I was being greeted with:

mysqli_real_connect(): (HY000/2002): No such file or directory

Any php database connection attempts to localhost were failing, which is the default for a variety of code out there, including phpMyAdmin and WordPress. Changing the connection host to “127.0.0.1” instead of “localhost” allowed it to connect, but I didn’t find this to be an acceptable solution as it should work for both. After doing some searching, I found the following solution to be the best option:

Continue Reading

What’s better than SSL everywhere?  Free SSL everywhere!  I first heard about the letsencrypt.org project at Defcon 23 in July (you can watch the same presentation here: https://www.youtube.com/watch?v=Ya6t8nMclos).  The concept was great, and I agreed with many of the points that were made, although the difficulty of setting up TLS was quite overblown, it really isn’t that difficult.  I was interested in the concept, but at that time the project was not available for use, but now it is, and it’s fairly easy to use, though does have one minor drawback.

Continue Reading

Hadn’t updated my blog back-end in a couple years, so decided to take a look at what was new with MovableType, my choice of back-end software for blogging needs.  Unfortunately, it seems that sometime last year sixapart decided to move away from even providing a single blogger account level license.  I’ve loved working with MT over the years, but that change is enough to make me jump ship, so I started looking for alternatives.  WordPress was an obvious choice.  The process I followed to convert my site content is as follows:

Continue Reading