How to enable PHP short tags?

后端 未结 19 2520
清酒与你
清酒与你 2020-11-21 05:29

I have a web application on a Linux server which starts with

I needed to copy this application to a windows environment and everything is working

19条回答
  •  眼角桃花
    2020-11-21 05:38

    To enable short_open_tag for a particular domain with php-fpm, you must edit :

    /etc/php5/fpm/pool.d/xxxxxxxxxx.conf

    Where xxxxx is the socket number of the domain.

    And add : php_value[short_open_tag] = On

提交回复
热议问题