Skip to content

Commit a395dd9

Browse files
committed
Display PHP errors
1 parent 3bf4971 commit a395dd9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Vagrantfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ Vagrant.configure("2") do |config|
148148
sed -i "s/APACHE_RUN_USER=www-data/APACHE_RUN_USER=vagrant/" /etc/apache2/envvars
149149
sed -i "s/APACHE_RUN_GROUP=www-data/APACHE_RUN_GROUP=vagrant/" /etc/apache2/envvars
150150
grep -q "Listen 81" /etc/apache2/ports.conf || sed -i "s/^Listen 80/Listen 80\\nListen 81\\nListen 82/" /etc/apache2/ports.conf
151+
sed -i "s/^display_errors = Off/display_errors = On/" /etc/php/7.2/apache2/php.ini
152+
sed -i "s/^display_startup_errors = Off/display_startup_errors = On/" /etc/php/7.2/apache2/php.ini
151153
152154
echo "ServerName ${VIRTUALHOST}
153155
<Directory ${CODEIGNITER_PATH}>

0 commit comments

Comments
 (0)