Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Stretch 9.6 Apache2 2.4 cannot parse php files

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
Nimant
Posts: 1
Joined: 2018-11-16 10:16

Stretch 9.6 Apache2 2.4 cannot parse php files

#1 Post by Nimant »

Hello,

while everything seems ok with the configuration files
/etc/apache2/mods-available/php7.2.conf
/etc/apache2/mods-enabled/php7.2.conf

and libapache2-mod-php7.2 is installed
this php file
<?php
print "Hello World<br>";
?>
is interpreted as pure html by apache2 displaying
";
?>

I purged and reinstalled apache2 and php7.2 without any result.
Any idea ?

TonyT
Posts: 575
Joined: 2006-09-04 11:57

Re: Stretch 9.6 Apache2 2.4 cannot parse php files

#2 Post by TonyT »

check the logs

Post Reply