Question

Ajax request - interpritation php as text

Hi! Help me please.

I have droplet Ubuntu PHPMyAdmin on 14.04. My site have ajax request. Server return only php source, without a execution!

What and where to change on server configiration for intertpritation php files for execute in ajax?

Subscribe
Share

When setting up your site did you make any changes to the default virtualhost configured at /etc/apache2/sites-enabled/?

Are any errors being reported in your /var/log/apache2/error_log?


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

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.

Thank for answer!

It was need to change in php.ini short_open_tag = On