I get the same thing in my browser. http://localhost/php.test
html?
<head>
<title>PHP Test</title>
</head>
<body>
<p>This is an HTML line
<p>
<?php
echo "This is a PHP line";
?>
</body></html>
I guess I missed something.
Thanks,
Spencer
-----Original Message-----
From: richard ray harris [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 20, 2005 7:12 PM
To: [email protected]
Subject: Re: [PHP-INSTALL] re: Getting apache to run the php page
I'm having similar issues. (Newbie here.) Running program from my
browser, titled test.php:
<html?
<head>
<title>PHP Test</title>
</head>
<body>
<p>This is an HTML line
<p>
<?php
echo "This is a PHP line";
?>
</body></html>
...the output is "This is an HTML line" and nothing else. I'm
*reasonably* sure I have everything configured to spec, but obviously
there's some "DOH!"
mistake I've made along the way. Help! Been at this all day.
--Richard
--- [EMAIL PROTECTED] wrote:
> Sounds right to me. Have you tried uploading a .php and opening it in
> your browser? Try this one:
>
> phpinfo.php:
>
> <?php
> phpinfo()
> ?>
>
> -----Original Message-----
> From: Plantier, Spencer
> [mailto:[EMAIL PROTECTED]
> Posted At: Tuesday, April 19, 2005 12:40 PM Posted To: list_PHP_Config
> Conversation: Getting apache to run the php page
> Subject: [PHP-INSTALL] Getting apache to run the php page
>
>
> I have php installed but when I start hpptd and then https://localhost
> I just get the default apache page. What did I do wrong?
>
> Thanks
>
> Spencer Plantier
> System Network Administrator
>
> 301 Gregson Dr
> Cary, NC 27511
> Office 919-379-8513
> Cell 919-272-8833
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com