install php server on macos code example
Example 1: run php server mac
php -S localhost:9000
Example 2: php apache install macbook
LoadModule php7_module libexec/apache2/libphp7.so
php -S localhost:9000
LoadModule php7_module libexec/apache2/libphp7.so