PHP5 and MySQL 5 on Leopard
Thursday, December 6th, 2007 at 7:13 PM
A few quick notes about building MySQL 5.x and getting it working under Leopard:
- Follow Dan Benjamin’s excellent MySQL on Leopard tutorial.
- Copy the PHP configuration example to the actual expected location:
sudo cp /etc/php.ini.default /etc/php.ini
- Edit it, and add
/private/tmp/mysql.sock to both mysql.default_socket and mysqli.default_socket.
- Save, and restart Apache: sudo apachectl graceful
Once completed, the default PHP5 setup that comes with Mac OS X 10.5.x will be able to communicate with the MySQL version built using the above linked tutorial. Time to get developing!
This entry was posted
on Thursday, December 6th, 2007 at 7:13 pm and is filed under Mac, Tips.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
How to Import and Export ICNS with Photoshop
Monday, November 26th, 2007 at 10:26 PM
If you’re interested in making replacement icons for Mac OS X applications, the Leopard Developer Tools received an updated version of the Icon Composer utility, which combines multiple PNG images into one ICNS file. Once exported, the combined file is suitable for use inside an application bundle, by choosing Show Package Contents from the Finder’s action menu (or a right-click) and browsing to Contents/Resources/ and replacing the appropriate ICNS file (make sure to rename your icon to match the existing one!).
To run the process the other way, first find the desired ICNS file inside the application, and open it with the built-in Preview application. Preview understands the transparency inherent to ICNS icons, and allows you to save the file as a PNG, ready to open and work on in Photoshop!
11/28/07 Update
After looking around on MacUpdate for something simple, I found img2icns, a freeware drag-and-drop icon converter that can turn a PNG image into a folder icon. With it, you can Get Info for the converted folder icon and copy and paste it onto another application or document. It’s the perfect little icon utility to go with this minimalist workflow, and it’s Leopard-ready!
This entry was posted
on Monday, November 26th, 2007 at 10:26 pm and is filed under Mac, Tips.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
AppleScripts for iTunes
Saturday, November 10th, 2007 at 6:32 PM
AppleScript is the hidden “glue” language that binds software on the Mac together and allows for unparalleled interaction between apps. When built into a program, it allows anyone with the right tools to automate nearly any function of the appication. In fact, it’s what Apple’s Automator is built upon, making AppleScript more accessible to end users who don’t want to know or care about things like variables and loops. Where Automator is as easy as drag-and-drop, programming AppleScript can be complicated (perhaps more so for seasoned programmers).
Doug Adams, however, is an AppleScript wizard, and his huge library of scripts covers all kinds of Mac applications. Of particular interest are his iTunes scripts. He offers dozens upon dozens of cool and useful ready-to-run code samples that do all kinds of tricks with iTunes, including managing playlists, embedding and exporting album artwork, finding and replacing text in track names, and tons more. For getting more out of your Mac and iTunes, check out Doug’s AppleScripts library.
This entry was posted
on Saturday, November 10th, 2007 at 6:32 pm and is filed under Mac, Tips.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Leopard Compatibility Notes
Saturday, October 27th, 2007 at 6:20 PM
The night has come and gone, and Leopard is finally in the hands of thousands of Mac owners who are now getting their “new Mac” set up the way they prefer. While some found frustration with the Upgrade install, I backed up my important stuff and performed a full Erase and Install, resulting in a fresh system with no lingering apps or tweaks from the previous system. So far, my experience with Leopard has been a great one, with only a few software updates required to make things run like new. Here’s a run-down of some of the notes I made while getting software working:
- Backup
Apple’s .Mac-bundled “Backup” application received a small update bringing it up to Leopard standards, meaning many users can now successfully retrieve backups created before installing the system. Since I erased my previous OS install, being able to bring forth my backups stored on my networked G4 fileserver was one of the first things I needed to accomplish — something I’ll hopefully only need to do once with the advent of Time Machine. (Thanks for the tip, Jaron!)
- Adobe CS3 Compatibility
I had read a number of reports concerning CS3 compatibility with Leopard, and was wary of even installing them again, but I was glad to find that Adobe CS3 seems to work just fine in Leopard. I’ve run Photoshop, Illustrator, and Bridge for a few hours now without issue!
- VMware Fusion
I’m a big fan of using VMware on Windows to try out software before actually installing it on the host PC, and couldn’t be happier with the implementation on the Mac side of things, as well. VMware Fusion for Mac just hit 1.1 RC, and is nearing the final 1.1 release. The update brings, among other things, Leopard compatibility which works great.
- Transmit & Unison
My two must-have utilities from Panic, Transmit and Unison, are now Leopard ready and run with nary a hitch. Way to go, guys!
- Font icons
Images, PDFs, and Keynote presentations aren’t the only icons branded with the actual content they contain. Font files’ icons are updated to show the actual typeface on right on the icon. How cool is that?
I’m sure there’s a mountain of other cool things in Leopard just waiting to be discovered, and software developers will be publishing Leopard compatibility updates for the next few weeks at least. Keep an eye on MacOSXHints.com, one of the best places to check for the latest Leopard tweaks and tips!
After all was said and done, how was your Leopard install experience?
This entry was posted
on Saturday, October 27th, 2007 at 6:20 pm and is filed under Mac, Tips.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.