#!/bin/bash composer install echo "Starting PHP built-in web server..." # Use 'exec' to replace the script process with the PHP server process. # This is crucial for the trap to work correctly. exec php -S 0.0.0.0:2025