Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /data/sites/web/remonpelnl/www/wp-content/themes/remonpel_nl__child__twentyfourteen/functions.php on line 32
Another Upgrade, Another Fixing session - Upgrade Development Environment - Yosemite edition – Remons TechNotes

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.

  1. New command-line tools are needed, so we can either wait for XCode 6.1 to be released, or you can download the XCode Command Line Tools 6.1. It’s a smaller package (about 180 MB instead of a few Gigs.). The CLT package is available from the Developer site. Since XCode 6.1 will include these and everyone can get it, I don’t think apple will mind if I link you a copy of it; Download XCode CLT 6.1. Install it. Done.
  2. Update Homebrew
    Shell commandbrew update
  3. Reinstall mariadb – if it’s not broken, don’t bother, but it broke for me.
    Shell commandBrew reinstall mariadb
  4. PHP 5.5 comes without GD and FreeType. Shame. I took the opportunity to downgrade to 5.4 while I was at it.
    Shell commandbrew install zlib

    Shell commandbrew install homebrew/php/php54

    to activate this version, you will need to add this line on the bottom of your .bashrc file;
    export PATH=$PATH:/usr/local/sbinexport PATH="$(brew --prefix homebrew/php/php54)/bin:$PATH"

    and edit /etc/apache2/other/php5-loadmodule.conf to read:
    LoadModule php5_module /usr/local/opt/php54/libexec/apache2/
  5. Disable the SSLMutex line in /etc/apache2/extra/httpd-ssl.conf
  6. Enable the mod_rewrite, socache_shmcb_module and mod_ssl modules  in /etc/apache2/httpd.conf
  7. Enable loading the httpd-vhost.conf httpd-ssl.conf files in /etc/apache2/httpd.conf

Now it seems to run again :)

If I find more, this post will be edited :P

Happy coding!

Author: Remon Pel

WebDeveloper though not WebDesigner

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Confidental Infomation
stop spam mail