// archives

php

This tag is associated with 4 posts

Mac OS X Mavericks upgrade pre-steps for developers

If you’re like me, you use your Macbook Pro computer for software development; more specifically PHP. This development requires a lot of configuration in an online environment. Major and security upgrades from Apple seem to always replace the current configuration files with their own default versions. This is a serious pain. Specific Generic Files: httpd.conf […]

OSX ImageMagick PHP Apache after an upgrade

One annoying thing about Mac software upgrades is they occasionally blow away installs of various software. Differing compiler version can make shared libraries incompatible after these updates. Here’s my solution to solving a problem where my ImageMagick shared object became incompatible as a PHP extenstion. sudo port install imagemagick php53-imagick php53-magickwand cd /usr/lib/php/extensions/no-debug-non-zts-20090626/ sudo cp […]

CouchDB Connector Libraries

I wanted to get a project started with the objective to make CouchDB connector libraries for various languages. github.com/randymelder/CouchDBConnector Planning for at least PHP and Objective-c.

PHP Linked List Example

Continuing my data structures thoughts from previous posts, I’ve created a linked list example. /* * Node – a basic link node. */ class Node { var $id; var $next; /* * */ function __construct($id) { $this->id = $id; } } $a = new Node(“mark”); var_dump($a); $b = $a->next = new Node(“wes”); var_dump($b); $c = […]