Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jason McCreary:
Installing Apache, PHP, and MySQL on Mac OS X Sierra
Sep 30, 2016 @ 09:12:28

In a new post to his site Jason McCreary has posted an update to his previous "installing Apache, MySQL and PHP" post with a few changes for macOS Sierra. The changes don't make the installation too much different, however.

Mac OS X runs atop UNIX. So most UNIX software installs easily on Mac OS X. Furthermore, Apache and PHP come packaged with OS X. To create a local web server, all you need to do is configure Apache and install MySQL.

I am aware of the web server software available for Mac OS X, notably MAMP. These get you started quickly. But they forego the learning experience and, as most developers report, can become difficult to manage.

He walks you through the process of getting Apache up and running and the current version of PHP configured and working with it. He shows how to verify PHP is working as expected, how to install the DMG of MySQL and make it also work happily with the PHP installation. There's also a bit at the end you can enable to add in some additional Apache module support for mod_rewrite, mod_expires and mod_deflate.

tagged: install tutorial apache mysql macos sierra

Link: http://jason.pureconcepts.net/2016/09/install-apache-php-mysql-mac-os-x-sierra/

Laravel News:
Troubleshooting Laravel Valet on macOS Sierra
Sep 26, 2016 @ 10:16:22

Eric Barnes has a post to his site for the Laravel Valet users out there that have upgraded to macOS Sierra. In the post he talks about some of the common issues people are seeing when upgrading either Valet or macOS and how to resolve them.

macOS Sierra was released just a few days ago and everybody is starting to upgrade. Some users of Laravel Valet have reported some problems and Adam Wathan has put together a list of common problems and troubleshooting tips to help resolve issues he’s been seeing.

The list in this post covers a few different topics:

  • Interference between Valet and the local Apache install
  • Random Valet deaths
  • Random files being shown on reload
  • 502 Gateway errors
  • "fpm.socket does not exist" error message
  • "php-fpm.conf is missing" message

The post ends with a list of three logs you can look at to try to locate these errors or get more information about them.

tagged: laravelnews valet troubleshoot macos sierra

Link: https://laravel-news.com/2016/09/troubleshooting-laravel-valet-on-macos-sierra/