k did you add

    AddType application/x-httpd-php .php

to your httpd.conf file? this is so apache knows to parse files with the
.php extension

"Andy" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Can someone please help, i think i am going mad.
>
> I have just installed Apache, php and Mysql, it all seems to be fine, the
>
> Apache server says it is ok, i think i have set the config file correctly,
>
> and Mysql look to be correct, but when i typed the code (My first code)
>
> <?php echo "this is a php line"; phpinfo(); ?>
>
> and save it test.php when i look at it in explorer all i see the preceding
>
> html code. What have i done wrong?
>
> I am using windows 2000 pro.
>
> I really want to get into this but i have fallen over the first hurdle,
and
> i cannot seem to get up.
>
>
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to