Skip to content

Commit 934b088

Browse files
committed
feat: copy the latest Vagrantfile.dist in CodeIgniter4 repository
But it seems it does not work. See codeigniter4/CodeIgniter4#2453
1 parent 96f2d4e commit 934b088

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Vagrantfile.dist

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Vagrant.configure("2") do |config|
5050
PGSQL_ROOT_PASS="password"
5151
VIRTUALHOST="localhost"
5252
CODEIGNITER_PATH="/var/www/codeigniter"
53-
PHP_VERSION=7.3
53+
PHP_VERSION=7.4
5454
PGSQL_VERSION=10
5555
#APT_PROXY="192.168.10.1:3142"
5656
@@ -166,8 +166,8 @@ Vagrant.configure("2") do |config|
166166
sed -i "s/APACHE_RUN_USER=www-data/APACHE_RUN_USER=vagrant/" /etc/apache2/envvars
167167
sed -i "s/APACHE_RUN_GROUP=www-data/APACHE_RUN_GROUP=vagrant/" /etc/apache2/envvars
168168
grep -q "Listen 81" /etc/apache2/ports.conf || sed -i "s/^Listen 80/Listen 80\\nListen 81\\nListen 82/" /etc/apache2/ports.conf
169-
sed -i "s/^display_errors = Off/display_errors = On/" /etc/php/7.3/apache2/php.ini
170-
sed -i "s/^display_startup_errors = Off/display_startup_errors = On/" /etc/php/7.3/apache2/php.ini
169+
sed -i "s/^display_errors = Off/display_errors = On/" /etc/php/7.4/apache2/php.ini
170+
sed -i "s/^display_startup_errors = Off/display_startup_errors = On/" /etc/php/7.4/apache2/php.ini
171171
172172
echo "ServerName ${VIRTUALHOST}
173173
<Directory ${CODEIGNITER_PATH}>

0 commit comments

Comments
 (0)