PHP and Cygwin

I’ve been having some problems with PHP and Apache 2 on windows recently. I would be doing some development work and refreshing the page to test progress and after some short time Apache would stall and require a restart. I tracked the problem down to using the binary module that comes with PHP. If that module was removed from the Apache configuration, the webserver would be just fine – but without PHP running.

So, I took a look at cygwin to see whether PHP could be made to work with it. I already had the Apache 2 webserver package installed, so all I needed was PHP. Looking at the official PHP packages, there is no support for PHP. After some searching around the net I found a blog called Cygwin Ports. This is linked to a sourceforge project and it has a PHP 5.2.5 package for cygwin.

Installing packages from Cygwin Ports was as easy as adding the URL ftp://sourceware.org/pub/cygwinports to the cygwin server list. So, I followed the instructions for including their package, installed PHP and wrote a quick test script using only phpinfo():

<?php phpinfo(); ?>

I typed http://localhost/index.php and Success!

The next step was to get something more complex working, specifically CMS Made Simple. But I’ll leave that for next time.

ftp://sourceware.org/pub/cygwinports
Posted in cygwin, php | 10 Comments

Must-have Security Tools

Computer security is never too important. There are people out there trying to find out your passwords, account details and other personal information.

Don’t panic! itsecurity.com has a great article recommending The 10 Best Free Security Tools. Some of these are for system and network administrators. But others, such as AVG Anti-Virus Free and Ad-Aware Free are suitable for home users.

Posted in Security | Comments Off on Must-have Security Tools

Announcing Mailfrom v0.1: compose mailto links in webmail

I’m pleased to announce a new Firefox addon, Mailfrom, that enables mailto links to be composed in your favourite webmail service.

Version 0.1 is an early access release and provides support for GMail and Yahoo Mail only. If you wish to have a service added, request an enhancement or encounter a problem, please file a bug report.

Mailfrom is available for download from the Mozilla Addons Sandbox (login required).

To make the addon available in the public repository, it requires reviews. If you like the addon, please post a review here.

Posted in Firefox | Comments Off on Announcing Mailfrom v0.1: compose mailto links in webmail

Released: Modify Headers 0.6.3

Happy New Year to you all.

Before Christmas I released version 0.6.3 of Modify Headers. This version adds support for the Firefox 3 beta 2. For current users this will automatically update, otherwise, please download from Mozilla Addons.

Update: XHTML Mobile Profile 0.5.2 has been updated to support Firefox 3 beta 2.

Posted in Firefox | 10 Comments

Announcing: XHTML Mobile Profile v0.5.2 for Firefox

Yesterday, version 0.5.2 of the XHTML Mobile Profile add-on for Firefox was released. Please install from Mozilla Add-ons.

This is the second bugfix release of version 0.5, (which was not announced when released last month, oops). Version 0.5 adds support for rendering multipart mixed content in Firefox.

Please report any defects or enhancement requests in Mozdev Bugzilla.

Posted in Firefox, Mobile Web | 4 Comments

Released: Modify Headers 0.6.0

Version 0.6.0 of Modify Headers is now available. The main new feature for version 0.6.0 is the ability to export and import headers. The wizard can be found on the configuration tab.

Please post any bugs to bugzilla.mozdev.org.

Posted in Firefox | 12 Comments

The Actor Gareth Hunt

I was very sad to hear of the death yesterday of the British actor, Gareth Hunt. A number of people have been coming to this website in search of information about him. More information can be found at the BBC and IMDB.

My condolences go out to his family.

Posted in Uncategorized | 1 Comment

Released: XHTML Mobile Profile 0.3.7

This release adds the string [XHTML-MP] to the title of a document that is being handled using the XHTML Mobile Profile addon. Go to Mozilla Update to install.

Posted in Firefox, Mobile Web | 13 Comments

Finding a Theme

Today the Firefox addon, Web Developers Toolbar, was updated. After restarting, none of the icons were displayed on the toolbar. The problem was the theme used: Phoenity. Turns out that Phoenity is no longer supported by its author. So looking for a new theme I found Blue Ice. Its simple, understated and supports the web developer toolbar icons.

This made me look at the theme for this blog. It had been using the Neat (link no longer available) theme, but I’ve decided its too dull. So until I can find (or design) a better one, the default theme is going to have to do.

Posted in Firefox | Comments Off on Finding a Theme

My First Birdie

About two months ago, we decided to take some golf lessons. I had not had lessons before, but had hacked around the nine hole municipal course near Caerleon in South Wales more than ten years ago.

So after taking a few lessons at the Bellevue municipal course and a few rounds at the Crossroads par 3 course, I got my first Birdie! (OK, it was the ninth at the Crossroads course and I had shot 6 on the fourth. But it came off the back of 3 pars in the round.)

It was a great feeling and hopefully the first of many.

Posted in Living in America | 1 Comment