Tuesday, 9 January 2018

How to set php short_open_tag=on/off in php.ini

To set the short_open_tag = on in php.ini
less /etc/php.ini | grep short_open_tag
short_open_tag = off
change it to ON in php.ini by using favourite editor
vi /etc/php.ini (search for short_open_tag )
Please replace the value OFF with ON under /etc/php.ini
Restart your Apache server.

No comments:

How to install asterisk secure fail2ban

1)  rpm -Uvh  http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm If this is already installed, skip this step. 2)  y...