PHP Short Tags not working.

Hello I’m having a problem with Short tags not working (php tags) I’ve edited my php.ini file but had no luck.

Now I know I shouldn’t really use them… but anyways can someone help me out please.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Also, if you still have no luck after trying 23r01nf1n17y’s answer, try restarting php-fpm.

service php-fpm restart


service php7.0-fpm restart

Did you reload your apache?

service apache2 restart

Or Nginx

nginx -s reload