Article 5SDSR apache2: blank page when I try to load php file

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.latest?d=yIl2AUoC8zA latest?i=sAKP5a4pxro:GE-pVCU0ZJE:F7zBnMy latest?i=sAKP5a4pxro:GE-pVCU0ZJE:V_sGLiP latest?d=qj6IDK7rITs latest?i=sAKP5a4pxro:GE-pVCU0ZJE:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments