1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00
Files
archived-web-php/.devcontainer/post-create.sh
2025-07-31 17:45:27 +01:00

8 lines
271 B
Bash
Executable File

#!/usr/bin/env bash
test -f composer.json && composer install
sed -i 's/Listen 80$//' /etc/apache2/ports.conf \
&& sed -i 's/<VirtualHost \*:80>/ServerName 127.0.0.1\n<VirtualHost \*:8080>/' /etc/apache2/sites-enabled/000-default.conf \
&& rm -rf /var/www/html