Answer the question
In order to leave comments, you need to log in
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.
Answer the question
In order to leave comments, you need to log in
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?
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 questionAsk a Question
731 491 924 answers to any question