Run php-cli

You can now run php-cli from ~/php/php8/bin/php and also start the built-in server:

➜  echo "<?php var_dump('Hello World!');" | ~/php/php8/bin/php 
string(12) "Hello World!"
➜  ~/php/php8/bin/php -S localhost:1234

If this is enough for you, you can stop here. Otherwise continue with setting up php-fpm.

Revision #2
Created Thu, Aug 12, 2021 10:36 AM by Lukas
Updated Thu, Aug 12, 2021 10:40 AM by Lukas