mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
8 lines
271 B
Bash
Executable File
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
|