php not parsing

I'm testing a .php file -

<? phpinfo(); >?

however when the page loads I get a box that says:

File Download

Open / Save / Cancel

I'm not certain why it's not parsing php.

Any suggestions would be helpful.

Apache is on.
Win 98
and I've checked my Apache conf. file to be:

ScriptAlias /php4/ "C:/php4/"

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Action application/x-httpd-php/php4/php.exe

Thank you,
Eddy
long eddy [ So, 14 Januar 2007 02:33 ] [ ID #1594964 ]

Re: php not parsing

On Sun, 14 Jan 2007 01:33:11 GMT, in alt.php "long eddy"
<eddy [at] nospamplease.com>
<rLfqh.529$B25.141 [at] news01.roc.ny> wrote:

>| I'm testing a .php file -
>|
>| <? phpinfo(); >?

Try:
<?php phpinfo(); ?>

>| however when the page loads I get a box that says:
>|
>| File Download
>|
>| Open / Save / Cancel
>|
>| I'm not certain why it's not parsing php.
>|
>| Any suggestions would be helpful.
>|
>| Apache is on.
>| Win 98
>| and I've checked my Apache conf. file to be:
>|
>| ScriptAlias /php4/ "C:/php4/"
>|
>| AddType application/x-httpd-php .php
>| AddType application/x-httpd-php-source .phps
>|
>| Action application/x-httpd-php/php4/php.exe
>|
>| Thank you,
>| Eddy
>|
------------------------------------------------------------ ---
jnorthau [at] yourpantsyahoo.com.au : Remove your pants to reply
------------------------------------------------------------ ---
Jeff North [ So, 14 Januar 2007 06:29 ] [ ID #1594968 ]
PHP » alt.php » php not parsing

Vorheriges Thema: sessions and persistence?
Nächstes Thema: create a permanent global function/variable?