A
Anonymous
Guest
Hi,
If I just type localhost, then I can see my index.html page. I can also run other html pages like:
<html>
<head>
<title> PHP Test</title>
</head>
<body>
<p>Hello World</p>
</body>
</html>
These pages are stored in:
/var/www/html . But when I run a php file like:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
I am getting the error:
502 bad gateway.
Can some body please guide me.
Zulfi.
If I just type localhost, then I can see my index.html page. I can also run other html pages like:
<html>
<head>
<title> PHP Test</title>
</head>
<body>
<p>Hello World</p>
</body>
</html>
These pages are stored in:
/var/www/html . But when I run a php file like:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
I am getting the error:
502 bad gateway.
Can some body please guide me.
Zulfi.