Ajax request - interpritation php as text

April 13, 2015 993 views
Apache PHP Debian Ubuntu

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?

1 Answer

Thank for answer!

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

Have another answer? Share your knowledge.