Re: re: Getting apache to run the php page
| From: | Michael W. | Date: | Fri, 22 Apr 2005 01:02:39 +0000 |
| Subject: | Re: re: Getting apache to run the php page | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-16031@lists.php.net to get a copy of this message | ||
Try naming it test.php instead of php.test. Apache may be configured to parse *.php files with PHP, but it's almost definitely not for *.test files.
Plantier, Spencer wrote:
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:gaygolfassociation@yahoo.com] Sent: Wednesday, April 20, 2005 7:12 PM To: php-install@lists.php.net 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 --- jmartinez@controlaircorp.com 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:spencer.plantier@stratech.com] 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://localhostI 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__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.comCell 919-272-8833spencer.plantier@stratech.com