Dec 16 2010

Running PHP5.3.x and Apache on a Mac

flattr this!

Hi,

In 2007 I became a switcher and life got easier for me… everything got easier, except installing PHP and Apache. So, mainly for myself–I thought to write this small “handy”? tutorial on how to install this quickly. The reason behind is also because I recently re-installed my Mac and am at this point again. This lets me just copy-and-paste for me in the future :P


Jun 4 2009

Installing PHP on OSX

flattr this!

Hi,

When I develop sites, I do this locally and upload the changes I made to my SVN server. Then I deploy the new releases of the sites to the specific server directly from the SVN server by a checkout or an export.

For most of the projects, I work with PHP. Using a good tutorial I found (http://drewish.com/node/110) I re-compiled apache, mysql and Php on my computer… whithout any problems. BUT… some things were missing…

Currently I am working on a site which is using magento commerce. Magento commerce is a very advanced commerce tool and has quite som demands.
Two of the demands I was struggeling with were iconv and mcrypt. Today, I got these working.


Mar 3 2009

Apple just released some new stuff…

flattr this!

… nice!

The iMac, Mac Mini and the mac Pro are now updated. My hair just raises when reading the specs on the new mac pro, longing to get me my own! Just a few weeks ago I bought me an secondhand mac mini G4, but now I really want the new version… with a larger harddrive.

Check it out at http://www.apple.com (or http://www.apple.com/se for all you Swedish visitors.)

In other news; last week the prototype of my chat application written with Björn Sperber made its way to my iPhone… and works perfectly using activeMQ. I will post some screens later on!


Feb 4 2009

PHP image manipulation class

flattr this!

I am working on an litle photo album script and while working on it I found that there are a lot of image manipulation script, but non that are very clever or clear.

So I decided to write my own (which I thought was clear enough for me and fitted my purpouses). Here it is, free of use.

The settings in settings.php are the following:

<?php
/**
  * Path settings
  */
 define("document_root", "/Users/paulp/Sites/Photos/");
 define("web_root", document_root . "web/");
 /**
  * Image and thumb settings
  */
 define("thumbWidth", 			164);
 define("thumbHeight", 			122);
 define("imageWidth", 			1024);
 define("imageHeight", 			768);
?>

Let me know what you think! ;)

Cheers,
//Paul

Attached Files:


Feb 4 2009

Open tought… PHP RMT project?

flattr this!

Well, the last few days I have had some thought around building an release management tool for PHP.

I have surfed around a bit (a few minutes) but didn’t really find anything.

My toughts are to build a tool that keeps track of the version of the product you are working on.
Together with an local script, such as ant one should be able to release the product and make it availeble to the public… as an tar.gz and/or .zip file.

From the web gui this should be doable as well… login into the admin center, add an project, add an SVN server, set the start version and make an release.