Security, software development and devops in a cloud world

Tag PHP

WordPress – Solving Common Problems

Introduction This blog is hosted on WordPress. I frequently configure WordPress sites on cloud servers. This article documents various configuration issues that I perform to solve common problems. This article applies to Ubuntu 20.04/22.04 and WordPress 5.8 and newer. These… Continue Reading →

Bunny.net: Account and API Keys

Bunny.net is an excellent cloud storage and CDN service. I use it for my websites. Bunny offers two primary services: Bunny Storage and Bunny Pull Zones. Combined those two comprise Bunny CDN. There are additional services DNS, Stream (video), and… Continue Reading →

PHP 8: Setup PHP_SSH2

Introduction This article describes a problem that I ran into while developing an SSH application with PHP 8.0 on Windows 10 and the solution. [Update 2023-08-01] If you need php_ssh2.dll for PHP 8.2 on Windows/XAMPP, see my repository on GitHub…. Continue Reading →

Laravel – Adding Azure Blob Storage

Introduction Recently I decided to deploy a Laravel site so that customers can upload large files privately and securely. Similar to Dropbox but without its bells and whistles. I did not want to share access keys or other secrets. I… Continue Reading →

Azure – OpenID Connect JSON Web Key Set

Introduction For a new project, I must validate Azure Access Tokens in PHP. This requires obtaining the public key to validate the JWT signature. This article shows the process of working with the Azure OpenID Connect Metadata Document to obtain… Continue Reading →

Laravel – GitHub Integration – Part 1

Introduction This article demonstrates backing up an existing Laravel site to GitHub. The next article demonstrates adding a GitHub WebHook to automatically update a Laravel site when you push updates to GitHub. I have many websites in production status. I… Continue Reading →

Laravel – Displaying a GitHub Gist

Introduction Today (June 14, 2021) I answered a question on Stackoverflow regarding the Google Cloud Recommender API that required Python source code. I also created a GitHub Gist to make downloading the code easier. That got me thinking about how… Continue Reading →

© 2024 John Hanley — Powered by WordPress

Theme by Anders NorenUp ↑