0

I just finished to build an EC2 instance and installed web server with PHP according to the instruction on AWS. (link to the page) [https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Tutorials.WebServerDB.CreateWebServer.html][1]

as I started to test my web I wrote

 <?php include('mypage.php'); ?>
<?php include'mypage.php'; ?>

Both ways didn't worked for me, the results was, the content from the PHP file was printed to my screen. it was the connection to my database; Somebody know what the problem could be?? thanks

Yuval Sh
  • 19
  • 3
  • https://stackoverflow.com/questions/5121495/php-code-is-not-being-executed-but-the-code-shows-in-the-browser-source-code – ADyson Aug 31 '21 at 07:12

0 Answers0