PHP installaton problem

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
rbruch
Forum Newbie
Posts: 1
Joined: Tue Sep 15, 2009 9:23 am

PHP installaton problem

Post 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.
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: PHP installaton problem

Post by jackpf »

Do you have short-tags enabled?
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Re: PHP installaton problem

Post 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.
Post Reply