Zen Cart Logo
Forums / Installing on a Linux/Unix Server / php.info.php shows blank page

php.info.php shows blank page

Views: 4,094

Results 1 to 2 of 2
13 Aug 2022, 1:37 AM
#1
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

php.info.php shows blank page

ZC 1.5.7
PHP 7.4
I loaded file adminer.php and it displays correctly.
However phpinfo.php show blank page.
Contents:<?=php phpinfo(); ?>
Anything wrong?

13 Aug 2022, 2:27 AM
#2
ckosloff avatar

ckosloff

Totally Zenned

Join Date:
Feb 2007
Location:
South Florida, USA
Posts:
1,375
Plugin Contributions:
0

Re: php.info.php shows blank page

<?php phpinfo(); ?>

Here is correct syntax, works like a charm.
You can pass additional parameters inside the curved brackets. more info on PHP manual at https://www.php.net/docs.php