So I recently upgraded to macOS Sierra (Beta) and it broke my PHP/MySQL config... no real surprise there but... what's weird is that some quick terminal commands show me that PHP and MySQL are both up and running! For example... PHP:
myusername@myworkstation /private/etc/apache2/other php -v
PHP 5.6.24 (cli) (built: Aug 9 2016 16:05:05)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
httpd: Syntax error on line 537 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/+entropy-php.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found: _environ\n Referenced from: /usr/local/php5/libphp5.so\n Expected in: /usr/sbin/httpd\n
I had a similar issue. Seems like sierra overwrites the config files. I got php working by uncommenting the php loadmodule line in httpd.conf. My websites are working again but all my vhost stuff seems to be gone. I will recreate the configs and add to this if it helped.