B
B
barsecky2019-01-25 17:28:26
PHP
barsecky, 2019-01-25 17:28:26

PHP site does not start on a virtual machine in UBUNTU 18.04, what should I do?

Good afternoon! Help solve the problem.
Ubuntu server 18.04
is installed on the virtual machine. PHP 7.2, Apache2 - 2.4.29, MySQL 5.7 are also installed.
There is a simple site in PHP. I set everything up as best I could according to the manuals on the Internet, it seems like it should work, but when you output it in the browser, you don’t understand what is displayed. 5 days I'm sitting reinstalling / setting up the server, but nothing happens.
Help with the issue.5c4b1cf366baf405272801.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Syomov, 2019-01-25
@kotomyava

It doesn't quite look like the php handler doesn't work at all... phpinfo() returns, doesn't it?
Maybe it's short_open_tag, which must be enabled for your script, and which are disabled by default?

O
Oksana ..., 2019-01-25
@deniz1983

Are the permissions set correctly? There you need to set permissions on your php project folder so that Apache, etc. can read / write. Otherwise, he is denied access even for reading.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question