After a big of digging around on a server today, I followed my nose to where the log files are held. qmail is started from within /etc/init.d/qmail. Searching for qmail-start reveals two ways in which qmail can be started, the Debian way or the “other” way. As this is CentOS we need the “other” way, […]
I spent a few hours recently trying to debug some Apache Rewrite rules on our development server. We had a particular directory outside the root of the website that I was using an Alias command to make available. However, within this directory I also wanted to apply a couple of different Rewrite rules. A simple […]
When editing a Linux PHP shell script today, I got the error: EXTENSION ‘script.php’ NOT PRESENT The problem was that the file was saved with Windows line endings (\r\n). I just had to re-save it with UNIX line endings and it worked fine.
I have a PHP script that I will be running in one of three ways: interactively, from the Linux command line as a cron tab, on a Linux box as a web page, with Apache and mod_php In order to do this I found that I can do the following: #!/usr/bin/php -q <?php @ob_end_clean(); if […]
There are a few Skype command line switches documented on the Skype support site: https://support.skype.com/en/faq/FA171/can-i-run-skype-for-windows-desktop-from-the-command-line However, it seems that the list isn’t complete. From a post on the Skype community site (the post doesn’t seem to be available any more) I found the following additions: This will start Skype with the specified account name and […]