Ajax request - interpritation php as text

Posted April 13, 2015 2.1k views

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?

1 comment
  • 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?

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.

Submit an Answer
1 answer

Thank for answer!

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