Stretch 9.6 Apache2 2.4 cannot parse php files

Kernels & Hardware, configuring network, installing services

Stretch 9.6 Apache2 2.4 cannot parse php files

Postby Nimant » 2018-11-16 11:32

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 ?
Nimant
 
Posts: 1
Joined: 2018-11-16 10:16

Re: Stretch 9.6 Apache2 2.4 cannot parse php files

Postby TonyT » 2018-11-18 11:28

check the logs
TonyT
 
Posts: 555
Joined: 2006-09-04 11:57


Return to System configuration

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable