localhost/test/directory.php code example
Example 1: php make server
cd <PATH TO YOUR APP>
php -S localhost:<PORT>
Example 2: php simple server
simple built-in php server
cd <PATH TO YOUR APP>
php -S localhost:<PORT>
simple built-in php server