short-open-tags

Enable PHP short open tags via .htaccess

我只是一个虾纸丫 提交于 2019-11-27 14:24:21
问题 I’m currently running through a tutorial for a CMS system which unfortunately uses short open tags. I’ve confirmed that my host will not allow these in their PHP config, but that they run PHP in Apache mode (as opposed to CGI). To the best of my knowledge, this should then allow me to set the short_open_tag flag to on in an .htaccess file. However, this appears to not be working. In the root directory, I've created an .htaccess file with just the following line, but the short open tags are