Monthly Archive for June, 2007

OS X - how to build Apache2 and PHP5 on your mac…

This entry is not for the technologically faint of heart, which leaves out a large portion of my family and I am really showing off my geek with this entry, however, this took so much energy to accomplish that I feel the need to share it. I have been for nearly three days attempting to install Apache2 and PHP5 on my MacBook Pro. This was a task that I assumed would not be too daunting but nonetheless proved to be. All of the directions that I found make it look easy but I ran into plenty of traps along the way.

I initially started on Marc Liyanage’s page and was going to download the already built packages, but after some reading I decided that I would build the packages myself. I did ultimately use his MySQL build, however.

I did a few searches and did not come up with much but did find the following links:

1. PHPmac (very helpful!)
2. semanticpool
3. a random blog (like mine)
4. Max OSX Hints
5. laughingmeme (more helpful…)

I used part of each of these articles but ultimately what resolved my issue was a workaround on my own (can you feel the pride?). After following the instructions from article one above I was getting an error when trying to start apache. It was telling me that php5 could not find a library that it needed in mysql. When I followed the path there was an extra directory in the path. I went back and looked at my configuration and I can not figure out why the extra tree was in the path but it was. I don’t know of a good .so editor for the mac and thus I created a link to the correct path.

sudo ln -s /usr/local/mysql/lib/libmysqlclient.15.dylib /usr/local/mysql/lib/mysql/

By creating the alias for where the .so file thought the library was supposed to be to where it actually was I was able to get apache to start.

Let the programming begin…

[tags]Apache, PHP, PHP5, Apache2, OS X, Mac, Apple, Linux, Unix[/tags]

The kids do camp…

The Nelson kids have all returned from camp. What a time they had! Pictures from this video can be found at our photo site, photos.pcnelson.com. The little girls were at Victory Ranch and the older kids were at Camp Ozark. Thanks.

2PC College ministry launches a new blog…

The new college minister at 2PC, Wes Simmons, just launched a new blog for the ministry. We are praying hard for Wes and look forward to seeing the ministry grow.

[tags]2PC, Memphis, Second Presbyterian Church, Kairos[/tags]

Apple II turns 30 today… Happy Birthday!

Today a large part of my youth turns 30. The first computer I can ever remember sitting in front of was the Apple II and later the daddy of them all, Apple IIe. Many hours were spent during the summer staring into that green screen at computer camp. Yes, I was one of those kids that went to computer camp, there I said it. Having that off my chest, what a gift I was given to be introduced to the power of computing at such a young age. Of course we did little more than draw pictures and print lists, but the experience and comfort level obtained has been invaluable. The freedom that I feel at a machine today, to experiment knowing that whatever I mess up can be undone, was forged at the keyboard of an Apple II in a friends garage. Thank you for that gift Apple, and thus a shoutout is appropriate:

10 PRINT “Happy Birthday Apple II, thanks for the gift!”
20 GOTO 10

[Tags]Apple, Apple II, Apple IIe[/tags]