Page 1 of 1

PHP installaton problem

Posted: Tue Sep 15, 2009 9:27 am
by rbruch
Hi, I googled the web and can't find any solution, I expose :

My php.exe cli file does not parse any file. If I write php.exe phpinfo.php php returns
<?
phpinfo();
?>

Although with apache.

Running Windows Vista Home Premiun on d:\php. path is correctly entered.

Thanks.

Re: PHP installaton problem

Posted: Tue Sep 15, 2009 9:45 am
by jackpf
Do you have short-tags enabled?

Re: PHP installaton problem

Posted: Wed Sep 16, 2009 1:32 am
by CoderGoblin
try

Code: Select all

<?php
phpinfo();
?>
When possible never use short tags as you can never guarantee any final server settings will include short tags.