apache2: blank page when I try to load php file
by walterbyrd from LinuxQuestions.org on (#5SDSR)
# uname -a
Linux servername 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux
# apache2 -v
Server version: Apache/2.4.38 (Debian)
Server built: 2021-09-30T03:50:49
# cat phpinfo.php
<?php phpinfo(); ?>
I was running lighttpd and php 7.0, and everything worked. I "upgraded" to php 7.3 and I kept getting 503 errors when trying to load a php page. Could not fix it, so gave up in frustration, removed lighttpd and php.
Then I reinstalled php, which automatically installs apache2. Now I just get blank pages when I try to run a php script.
Linux servername 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux
# apache2 -v
Server version: Apache/2.4.38 (Debian)
Server built: 2021-09-30T03:50:49
# cat phpinfo.php
<?php phpinfo(); ?>
I was running lighttpd and php 7.0, and everything worked. I "upgraded" to php 7.3 and I kept getting 503 errors when trying to load a php page. Could not fix it, so gave up in frustration, removed lighttpd and php.
Then I reinstalled php, which automatically installs apache2. Now I just get blank pages when I try to run a php script.