Main Menu

Archive | Linux

I found myself needing to switch between PHP versions on the command line running under the Plesk environment on a CentOS server. Some apps ran under PHP 5.6, some under 7.0 and others being pushed towards 7.1. This script allows me to be quickly switch between them. It looks for the current PHP version in […]

We tried suPHP on our servers for a short time. What suPHP does, is run PHP as the same user as owns that website. It will then only execute PHP scripts that are owned by that same user, and are not writeable by the group, i.e. not writeable by any other user. The idea of […]

This is a problem we have on both a dedicated server and a VPS. It is not something I’ve seen before and cannot find any descriptions of others seeing it. I’m logging it here in case a solution comes walking past, so I have my fingers crossed. We are running: CentOS 6.4 Apache/2.2.15 PHP 5.3.19 […]

This issue has left me scratching my head for a while, but I think I have finally found a solution. I have been generating virtual machines (VMs) for a client to run on their laptops out in the field. The VMs run a copy of the client’s SugarCRM instance, on top of Ubuntu 12.04 32-bit […]

This tool has been a life-saver on our hosting servers many times. If your mail queues fill up with spam – perhaps incoming, or perhaps after your server has been hacked (timthumb – that caught a lot of people), then spam can be deleted from the outgoing queue. For example, to remove all mail from […]