M
M
Muhammadkhon Abdullaev2020-10-23 12:42:08
linux
Muhammadkhon Abdullaev, 2020-10-23 12:42:08

Why can't I run index.php?

Hello. I have such an unusual question, for some of you it will seem stupid, but not the point. Installed nginx v1.18.0 on my Ubuntu 20.04LTS. Set up the right places.
When I enter localhost in the address bar, if I have index.html the page is displayed, but if I have index.php, then this file is loaded. I do not know what to do. Help, I'm still new. I hope for your understanding and help.

Sincerely, M.A.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2020-10-23
@Muhammadkhonofficial

Set up nginx so that it feeds php files to the php interpreter. Here it is short and clear:
https://ruhighload.com/%D0%9A%D0%BE%D0%BD%D1%84%D0...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question