Answer the question
In order to leave comments, you need to log in
PHP not working on Ubuntu server 16.04. Why?
Hello. Essence. VDS from 1gb. OS Ubuntu Server 16.04
Installed Webmin
Installed LAMP
Sent the domain name to the server, everything is OK, when I open the site I'm in the right directory (it's clear only because the favicon appears)
Karoch is the point, index.php finally can't see chtoli, gives a blank screen. I create index.html next to it, everything opens index.html.
Domain name lovemy . xyz
I'm setting up a server for AdultVideo Script (I set the rights to all the necessary directories and files according to the instructions and installed all codecs)
Lan who will advise?
Even <?php phpinfo() ?> doesn't work
Answer the question
In order to leave comments, you need to log in
Install and configure nginx + php-fpm in a human way, and not use ready-made dubious solutions.
Well, it is clear that either there is no php at all, or Apache does not see it (did Apache restart after installing php?), Or the processing of the php extension is not configured. In this case, you need to add to the Apache config
AddType application/x-httpd-php .php .php5 .php4
AddType application/x-httpd-php-source .phps
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question