Hardened WordPress Redis Zero Touch setup on Windows Server/IIS with phpredis, narrow ACLs, enrollment checks, and validation scripts.
How to allow local user to install software onto an Entra managed PC
Get the user’s full UPN, which is usually something like “username@companyname.onmicrosoft.com” on local computer, open administrative command prompt provide administrator credentials to open command prompt net localgroup administrators /add “AzureAD\username@companyname.onmicrosoft.com” You should see “command completed successfully” or similar. The user should now be able to install software on their device by logging in with their…
PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
Easy fix for the PHP error “PHP Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated” This was the existing code that was in a WordPress plugin: $D8 = preg_replace(“\57\x5c\163\x2b\x2f\123”, “\40”, $D8); This is the fixed code, which no longer throws the depreciated error: $D8 = preg_replace(“\57\x5c\163\x2b\x2f\123”, “\40”, (string) $D8); If…
WordPress, PHP and IIS setup of REDIS using Redis Object Cache Free Plugin
Note: This presumes you already have a working REDIS server inside your LAN. If you don’t, please see my coming post on how to set up a REDIS virtual machine on HYPER-V. You will need to install the php REDIS extension. I am using IIS 10 and Windows Server 2022, so I went to…
The response is not a valid JSON response – Windows IIS
If you’re I presume you’ve already tried some other techniques to fix the “The response is not a valid JSON response” issue with WordPress running on Windows Server and IIS. In my case, I am running PHP 8.1.8 and the issue was easy to fix. For me, the error happened while trying to save content to a Widget.…
How to get IMAGICK working under Windows Server IIS
Here is the simple method to get IMAGICK working under Windows Server 2019/2022 and IIS 10.0 and later. Presuming using PHP 7.4.X (current version is 7.4.27 as of 2/14/22). NOTE: This is not working properly under PHP 8.x Make sure you’ve downloaded the most current 7.4.X version and installed it on your IIS/PHP Manager,…
WordPress There was an error. The response is not a valid JSON response.
If you are running WordPress on IIS and experiencing this issue, another thing you can check is the FastCGI settings to make sure the OPTIONS verb is allowed. In my case, I am using a brand new setup of WordPress on a Windows Server 2019 IIS 10.0. When I went to Appearance, Widgets, made a…
How to use the SINTECH XBOX SERIES X S NVME ADAPTER
I recently purchased one of the SINTECH Xbox Series X/S NVME adapters in an attempt to use a less expensive alternative for NVME storage on my XBOX. This is the item: XBOX NVME ADAPTER It took about 10 days for the adapter to transit to the USA. You will also need a specific NVME 2030…
How to configure IIS to allow access to apple-developer-merchantid-domain-association
Also know as how to configure IIS to permit access to files with NO extension. In this case we need to create a file in this location: https://(my-website-domain)/.well-known/apple-developer-merchantid-domain-association Create a directory in your website called “well known” Create a virtual directory in the IIS manager, alias is .well-known and point it to the directory…
How to get OPEN NAT with Xbox or Xbox One and PFSENSE firewall
Here is my quick & easy guide to getting OPEN NAT inside your network for multiple XBOX’s and inside a PFSENSE FIREWALLED network. all Xboxes must be configured with a STATIC IP. under the Xbox Settings, Network, Advanced settings, I use MANUAL IP address setting. put a static IP inside the range of your network.…