PHP's built-in server does not read Apache config.
You can define a "router script" for the PHP server to act similarly to htaccess rules; more here
If a PHP file is given on the command line when the web server is started it is treated as a "router" script. The script is run at the start of each HTTP request.