Skip to content

Commit cdf891e

Browse files
committed
enable short_open_tag support
1 parent a900cba commit cdf891e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

install/vst-install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,9 @@ chmod 640 /var/log/httpd/error_log
412412
chmod 640 /var/log/httpd/suexec.log
413413
chmod 751 /var/log/httpd/domains
414414

415+
# Enable short_open_tag in php config
416+
sed -i 's/short_open_tag = Off/short_open_tag = On/g' /etc/php.ini
417+
415418
# Nginx
416419
if [ -e '/etc/nginx/nginx.conf' ]; then
417420
mv /etc/nginx/nginx.conf $vst_backups/nginx/

0 commit comments

Comments
 (0)