Astro inside of PHP Install inside of the astro-project folder. cd astro-project npm install Then build the Astro project. npm run build Now run the PHP server (from the root) php -S localhost:8000 Credits Template from Astroship, changed to be used in a PHP app instead.