M
M
Myshka2017-05-17 14:49:05
PHP
Myshka, 2017-05-17 14:49:05

Apache2 gives php code?

Hello.
The server is running Ubuntu Server 14.04.
Previously, it was just Apache2 and it worked fine for itself, and then I decided to deliver another Nginx.
I did everything according to this manual http://lib.clodo.ru/web-Server/webserver-lna.html#... but when you go to the site, only the content of index.php is displayed, not the page. When it was just Apache2, everything seemed to work fine.
There is no /etc/php5/apache2/php.ini file.
Tell me, please, what could be the problem.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2017-05-17
@zooks

Or set up nginx to only process static. Or completely throw out Apache and replace it with nginx. In this case, you will have to rewrite .htaccess in the nginx configs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question