29th November, 2007

December Sydney Python Meeting

Filed under: python — admin @ 9:37 pm

On Thursday the 6th of December, 2007 from 6:30PM, there will be a social gathering of the Sydney Python Users Group. Any individuals interested in discussing Python, Web, Ruby, Perl etc. are welcomed, nay encouraged, to attend. Laptops, code review, show and tell etc. are allowed and encouraged.

We meet in the ground floor area next to P.J. O’Briens Pub internal entrance in the Grace Hotel at the corner of York and King Street, Sydney, New South Wales 2000.

I’m going to do my best to be there, although my new job is keeping me somewhat busy. I should turn up even if it is only to increase the level of sartorial elegance and to show off my shiny new Macbook.

19th November, 2007

Enable PHP on Mac OSX 10.5

Filed under: General — admin @ 1:40 pm

Yes, I’ve got a new job (details will be forthcoming), but in the mean time I’ve got a shiny new Macbook (black, naturally) running Leopard.

As part of setting it up I wanted to run some of my web pages locally and realised that PHP wasn’t enabled out of the box. Luckily it is really easy to set up. Just sign in to a terminal session as a user with admin privileges and;

$ sudo vi /etc/apache2/httpd.conf

and then uncomment line 114, which starts out looking like this;

#LoadModule php5_module       libexec/apache2/libphp5.so

Then restart Apache by de- and then re-selecting ‘Web Sharing’ under the ‘Sharing’ pane of System Preferences. You don’t need to do anything else because the nice people at Apple thoughtfully provide an appropriate configuration file that is included when you enable the PHP module.

Powered by WordPress