Skip to content

Commit

Permalink
Allow PHP short tags
Browse files Browse the repository at this point in the history
  • Loading branch information
fauria committed Mar 9, 2016
1 parent e0cc1bb commit 21f9695
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run-lamp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ if [ $LOG_LEVEL != 'warn' ]; then
/bin/sed -i "s/LogLevel\ warn/LogLevel\ ${LOG_LEVEL}/g" /etc/apache2/apache2.conf
fi

# enable php short tags:
/bin/sed -i "s/short_open_tag\ \=\ Off/short_open_tag\ \=\ On/g" /etc/php/7.0/apache2/php.ini

# stdout server info:
if [ ! $LOG_STDOUT ]; then
cat << EOB
Expand Down

0 comments on commit 21f9695

Please sign in to comment.