W
W
webviktor2017-05-16 22:56:22
PHP
webviktor, 2017-05-16 22:56:22

Pieces of code on the site?

There is a site on opencart 2.0. Ubuntu 16.04. Nginx
worked fine on php 7.0, but due to one old module, I temporarily had to roll back the server to php 5.6 (installed these modules: (php5.6-fpm php5.6-curl php5.6-gd php5.6-mbstring php5.6 -mcrypt php5.6-xml php5.6-xmlrpc php5.6-mysql php5.6-zip) Now
in some places there are such bits of code:
*/?>
Tell me where to dig? Thanks

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Daemon23RUS, 2017-05-16
@webviktor

Look in php.ini for the value of short_open_tag
which was on the 7th and what it is now, try to enable short tags.
And see the outputphpinfo();

W
webviktor, 2017-05-16
@webviktor

On 5.6 - off
On 7.0 - on by default
Enabled on 5.6. Works.
Thanks a lot for the tip.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question