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]
When the new
I have been doing this for awhile but after speaking with a friend the other day who didn’t know the trick I thought it would be worth sharing. I am a big believer in wishlists. I figure if I mark something as a want or wish, and I still want it a month or two later, it is probably worth buying. This helps to cut down on my impulsive buying. I used to maintain my wishlists on
Want your screen saver to turn off when you walk in the room? What about having
Apple II turns 30 today… Happy Birthday!
10 PRINT “Happy Birthday Apple II, thanks for the gift!”
20 GOTO 10
[Tags]Apple, Apple II, Apple IIe[/tags]