-1

I'm using apache2 with php7.0 on Ubuntu 16.04

I made a php script with code:

<?php
    phpinfo();
?>

When I attempt to execute this script, rather than executing it the output is the code itself.

What should I do to resolve this issue?

Any assistance would be welcomed.

Thanks in advance.

Rohan Sharma
  • 69
  • 3
  • 13

1 Answers1

0

duplicate: Apache shows php code instead of executing

Community
  • 1
  • 1