This seems to be weird, I installed apache2
, php5
, phpmyadmin
, mysql-server
.
I created a file with the code -
<?php
phpinfo();
?>
Then my web server output was same as the code string. It didn't output any of its php config.
I've used Google Cloud Platform, DigitalOcean.. New to Amazon EC2, but as this machine just being a linux, it should work all normal, but it isn't.
EDIT:
When I run this command $php info.php
on my EC2 Instance command line, it shows the complete output of the phpinfo(); , but it isn't showing up on my browser.
Aucun commentaire:
Enregistrer un commentaire