B
B
benNeedHelp2019-05-08 09:25:06
Nginx
benNeedHelp, 2019-05-08 09:25:06

NGINX not interpreting php pages?

When accessing php files on the site (note: mysite.ru/page.php), they open in the source code (not interpreted), while the site itself works, CMS webasyst.
Why is this happening?
What server settings need to be made so that php files are processed by the server?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman Sokolov, 2019-05-08
@jimquery

Proxy requests from nginx to php-fpm or apache.

K
ky0, 2019-05-08
@ky0

https://help.ubuntu.ru/wiki/nginx-phpfpm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question