In file /etc/apache2/envvars the user and group were not correct. changed export APACHE_RUN_USER=www-data to myname and changed export APACHE_RUN_GROUP=www-data to myname
Other changes were made to the apache configuration file to get phpmyadmin to work, but that's another story.
manpreet
Best Answer
2 years ago
My Apache is running and displays the Default Page. I can redirect a PHP file into php and the echo command displays properly. I've already researched previous versions of Ubuntu and can't find any solution.
In
/etc/apache2/mods-avaliable/php7.2.conf
The classic phpinfo.php processes but no output is provided by Apache. i.e.
php < phpinfo.php
lists all the information.I believe that there is a setting required and/or a value not set. This resulted after upgrading from Ubuntu 15.04 to Ubuntu 18.04. Any help would be appreciated.