How to Setup PHP, MySQL and phpMyAdmin on Mac OS X Snow Leopard

My previous working setup was on WAMP( Windows, Apache, MySQL and PHP). On Windows I used a bundled app WampServer that did the job, just install the executable and your all set.

On Mac it kinda needs a bit of work but basically you have to configure PHP, download-install MySQL and phpMyAdmin.
Read the rest of this entry »

My Fresh MacBook Pro

Finally after a long wait, which was also a good thing as the MacBook Pro line got a total refresh that is truly significant than the last one. New processor, new graphics card, bigger RAM and storage, the new technology for 10GB transfer called Thunderbolt. Plus some Facetime  HD which records in 720p HD.

I got my MBP last Saturday at Power Mac Center at Trinoma. I actually tried preordering it on a local reseller here in Pampanga particularly Switch in Marquee Mall since last week of Feb, but everytime I make a followup their staff seems clueless and gives excuses that it maybe 2 to 3 months before it arrives etc. So decided to search for contacts numbers for Power Mac Center and when it was available we hurriedly made a short trip to Manila.

I got myself 13 inch as I feel this is more portable and lightweight, I had a chance to use the 15 inch(2008)  edition and it was pretty lumpy.

Here are the specs of my 13inch MBP.

13-inch Configurations

2.3GHz MacBook Pro
2.7GHz MacBook Pro
Enclosure Precision aluminum unibody
Processor 2.3GHz dual-core Intel Core i5 2.7GHz dual-core Intel Core i7
L3 cache 3MB shared 4MB shared
Memory 4GB (two 2GB SO-DIMMs) of 1333MHz DDR3 SDRAM; supports up to 8GB
Hard drive6 320GB Serial ATA; 5400 rpm 500GB Serial ATA; 5400 rpm
Slot-loading optical drive 8x SuperDrive (DVD±R DL/DVD±RW/CD-RW)
Graphics Intel HD Graphics 3000 processor with 384MB of DDR3 SDRAM shared with main memory5
Video FaceTime HD camera; Thunderbolt port with support for DVI, VGA, dual-link DVI, and HDMI (requires adapters, sold separately)
Display 13.3-inch (diagonal) LED-backlit glossy widescreen display, 1280-by-800 resolution
Expansion One Thunderbolt port (up to 10 Gbps), one FireWire 800 port (up to 800 Mbps), two USB 2.0 ports (up to 480 Mbps), SDXC card slot
Audio Stereo speakers with subwoofer, omnidirectional microphone, combined headphone/line in (supports digital output)
Networking 10/100/1000BASE-T (Gigabit) Ethernet
Wireless Wi-Fi (based on IEEE 802.11n specification)2; Bluetooth 2.1 + EDR (Enhanced Data Rate) wireless technology
Hardware accessories 60W MagSafe Power Adapter, AC wall plug, power cord
Limited warranty
and service
Your MacBook Pro comes with 90 days of free telephone support and a one-year limited warranty. Purchase theAppleCare Protection Plan to extend your service and support to three years from your computer’s purchase date. Only the AppleCare Protection Plan provides you with direct telephone support from Apple technical experts and the assurance that repairs will be handled by Apple-authorized technicians using genuine Apple parts. For more information, visit Apple support or call 800-823-2775.
Apple and the global
Learn more about Apple’s dedication to reducing the environmental impact of our products and processes. The Apple Product Environmental Specification details the environmental attributes of our products.
Recycling Apple takes a holistic view of materials management and waste minimization. Learn more about how to recycle your Mac.

And took some unboxing photos:

Total Verdict: It was worth the wait,  still expensive as it gets for a laptop  but personally for quality, slick design, all aluminum case  form  and now with the extra juice bump from core duo to core i5 plus the other goodies it’s totally worth every penny. With just having it for a few days, I can say that it is superfast.

Restart Apache in Mac OS X

I miss using a Mac, saving up to get the latest MacBook Pro.

Here is quick tip for an alternative method on how to restart Apache using the Terminal. Long method is go to Preferences then Sharing and disable enable Personal Web Sharing.

Shortcut is

Open the Mac OS X Terminal window then type in.

sudo /usr/sbin/apachectl restart

MacBook Pro won’t boot(sniff)

Been using my MacBook Pro regularly for the past several months I even accidentally dropped it when my bag was not close properly and it slid out to floor 4-5 months ago once but still it runs perfectly well. Today after using it the battery got drained. I hooked up the charger and behold, it won’t boot. Just a black screen with the sleep mode indicator in the led blinking softly. After a quick Google search it appears this is common on MBP. There are several steps to try and troubleshoot.

Holding the power button for 10 seconds, I hear the disc churn and spin and I can hear the fan spinning, but the screen remains black.

And I have already tried the PRAM reset too- remove charger, remove power, then press power button for 5 seconds,then put battery back.

So far no luck.

I fear for the worst. The most last solution I read is to bring it to an apple support and I would likely get the response that the logic board is damaged. I don’t have the warranty or the receipt. I feel a flaw on Apple policy regarding these problem. If they know that this is common on MBP then under warranty or not, they should replace it.

In the meantime I’ll keep troubleshooting and update.