-
This file exceeds the maximum upload size for this site
This is related to the WordPress error you may get when trying to upload a file greater than 2MB: While you can install plugins to get around this I found this did not work for me and I then got the error: My install of WordPress or more specifically PHP follows the instructions in CentOS… read more…
-
Failed to start The PHP FastCGI Process Manager
I am running MythTV on CentOS7 as per MythTV on CentOS 7 and it has been running fine and for no particular reason after cloning the VM it would not start FPM. When I cloned the VM I selected “I moved it” so it should have just worked. FPM is installed as a service and uses… read more…
-
CentOS 7 + PHP 7.2 + Python 3.6 + Apache 2.4
I am setting up a new CentOS 7 server, in 2019, because I want a long life public facing WordPress host that I can update easily. For example when the “Heartbleed” security bug, in the OpenSSL cryptography library, was discovered you needed to update your SSL install. This proved to be a major problem for… read more…
-
Date problems converting a dictionary to JSON
If you want to convert a dictionary object to JSON you would use something like: myJSON = json.dumps(myDict, indent=4, sort_keys=True) read more…
-
Persisting Azure Pipeline Variables
Azure pipelines are great, but a frustration is how to persist variables through phases in build and release pipelines. For two tasks running in the same agent phase you can pass variables a number of ways. If it is a Windows host you can do it through PowerShell or the O/S, otherwise you can drop… read more…
-
Enable python scripts in Apache
Want to run Python from Apache 2.4, this is what I did to get it working. For this exercise I am creating a web hook script and want to run them from the custom folder “/srv/www/webhooks/”. Apache config changes First backup and then open up “/etc/httpd/conf/httpd.conf” in your favorite editor.. Search for “#AddHandler cgi-script .cgi”… read more…
-
Fedora, Linux, IR Remotes, LiRC and MythTV
This post is mostly focused around getting a Microsoft MCE, Media Centre Edition, infra-red remote working with a MythTV frontend. However I will be covering as much as I can about about generic issues. My setup has Fedora 16 running with a hard drive install of Fedora LiveCD and I did this work in May… read more…
-
YankIt – Extract from Oracle using JDBC including blobs
This mini project is designed to allow you to extract and import data from an Oracle database using simple JDBC. Nothing even remotely startling about that, this is designed as a very simple command line tool that can be called from Ant. From what I can see there really isn’t anything out there that works… read more…
-
Cron job to check and if needed restart MythBackend
I am running MythTV 0.25 on Fedora 16. The problem I have is that sometimes the backend stops responding for reasons I have not figured out. Until I resolve the problem I want a mechanism that will restart the backend when it stops responding. The solution I took was to create shell script that would… read more…