Обсуждение: Unable to access phppgadmin from localhost
Is PHP running on your server?
I assume you put http://127.0.0.1/phppgadmin into the address bar of a browser on the server to get this result.
Regards
Dave Bolt
From: SAJESH PC [mailto:pc.sajesh800@gmail.com]
Sent: 30 April 2022 12:58
To: pgsql-admin@lists.postgresql.org
Subject: Unable to access phppgadmin from localhost
Hi,
When We try to access phppgadmin from localhost the following php code is displayed. What may be the reason for this? Kindly clarify.
printHeader('', null, true); $rtl = (strcasecmp($lang['applangdir'], 'rtl') == 0); $cols = $rtl ? '*,'.$conf['left_width'] : $conf['left_width'].',*'; $mainframe = '' ?> printFooter(false); ?>
regards,
P C SAJESH
PGT COMPUTER SCIENCE
KV MALAPPURAM
Hi,When We try to access phppgadmin from localhost the following php code is displayed. What may be the reason for this? Kindly clarify.printHeader('', null, true); $rtl = (strcasecmp($lang['applangdir'], 'rtl') == 0); $cols = $rtl ? '*,'.$conf['left_width'] : $conf['left_width'].',*'; $mainframe = '' ?> printFooter(false); ?>regards,P C SAJESHPGT COMPUTER SCIENCEKV MALAPPURAM
This looks like the http server not being configured to run PHP. That is what happens when httpd doesn't know what to do with "<?php" tag. Have you attempted to execute something like this:
<?php
phpinfo();
?>
What do you get if you try something like that?
-- Mladen Gogala Database Consultant Tel: (347) 321-1217 https://dbwhisperer.wordpress.com