Another Upgrade, Another Fixing session – Upgrade Development Environment – Yosemite edition

While Redmond is starting their photocopiers (the age old story of how Microsoft keeps copying instead of innovating), we Mac users start our updates. OSX 10.10 Yosemite brings Apache 2.4 and PHP 5.5 to our playground, but not everyone is happy with that. Also, not all software survives the upgrade. Here is what I had to do to fix my development environment.

Continue reading “Another Upgrade, Another Fixing session – Upgrade Development Environment – Yosemite edition”

Test your code for PHP (in-)compatibility

PHP Upgrades are a pain in the ass but from time to time, it’s desperately needed. For a hobbyist with one or two websites, it’s not that much of a deal to check your code and update, but what if you have hundreds of websites running on your servers? Automated tools would be the better choice.

Luckily there’s PHPCS – the PHP CodeSniffer – to check your code for appliance to a certain set of coding standards.

Continue reading “Test your code for PHP (in-)compatibility”

Downgrade (or upgrade) PHP on OSX

OSX Yosemite comes with PHP 5.5. OSX Mountain Lion comes with PHP 5.3. What if you wanted to run PHP 5.4 on both? Well, you can, with a dead simple installation;

Shell commandcurl -s http://php-osx.liip.ch/install.sh | bash -s 5.4
will install PHP 5.4.

Thanks to The coolest guide on the planet.

Restore Apache2 service after removal of Server.app

After experimenting with Apples Server.App and removing it (for not really needing it) the built-in Apache was no longer functioning and all I could get out of it was; “Websites are turned off. An administrator can turn them on using the Server application.”

The fix is simple, but finding where to fix, …

Webservices Turned Off

Continue reading “Restore Apache2 service after removal of Server.app”

OSX 10.10 Yosemite and iOS 8 announced

Last monday – everybody who cares knows – Apple announced the latest OS versions of OSX and iOS.

For a 10 minute breakdown, visit The Verge.

You can expect updates on all posts of the series ‘The Ultimate Development Webserver’ and ‘Handy Scripts’ where needed in the next few months (time permitting and if the beta will run stable enough inside VMWare Fusion)

Multiple Dropbox accounts – at once – no user switching

Tired of moving back and forth between user accounts just because you need a file from a second or third dropbox account? Sure you can use the web version but with three or more accounts, even that becomes tiresome.

Enter; MultiDropbox

Yeah, I could not think of a better name, but hey, it’s the thought that counts.

Do you want to know how to get more than one Dropbox account in sync on the same user, no switching, no web-apps, just functional? then read on.

Continue reading “Multiple Dropbox accounts – at once – no user switching”

Watch US Netflix outside the US

Netflix in Europe ain’t bad, but there are a lot of series not available in Europe. One of my favorites is Battlestar Galactica. I have them all at home, but not on the road. And while staying in some cheap-ass hotel for a night with nothing good on TV, I need some options :)

Getting Netflix to play US content on your computer is easy enough; use the Chrome extension MediaHint. How to play US content on Netflix app on your tablet or phone?

Continue reading “Watch US Netflix outside the US”

Repair OSX WebDevelopment server after OSX Upgrade

After upgrading OSX to version 10.9 I find myself investigating why my development server no longer works. After 4 upgrades I now have a clear list of things to check and how to fix.

If you have not yet upgraded OSX, take the time to back-up your /etc/php.ini and /etc/apache2/httpd.conf. Also; OSX 10.9 Mavericks will upgrade PHP to PHP 5.4, so if you have projects incompatible with 5.4; a) don’t upgrade OSX, b) start upgrading your code or c) use a different AMP-stack.

Also; if you depend on your computer for your income, don’t rush into this!

The TODO list:

  • Backup your system
  • Upgrade OSX
  • Upgrade Xcode and run it at least once, installing the commandline tools
  • Reboot your system
  • Follow the checklist :)

The checklist (things to check and maybe fix):

  • Apache
  • PHP
  • MySQL
  • PEAR/PECL/other

Continue reading “Repair OSX WebDevelopment server after OSX Upgrade”