php not parsing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kkonline
Forum Contributor
Posts: 251
Joined: Thu Aug 16, 2007 12:54 am

php not parsing

Post by kkonline »

hi,
I just installed php 5 on a debian etch.
I got successfully installed and then i restarted apache; on making a test.php in htdocs with <?php echo 'hello world'; ?>
as content.. i get the smae output on the screen rather than the parsed value as hello world...

what can be done?
User avatar
ghurtado
Forum Contributor
Posts: 334
Joined: Wed Jul 23, 2008 12:19 pm

Re: php not parsing

Post by ghurtado »

Are you accessing the page via the browser (ie: http://localhost) ?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Re: php not parsing

Post by RobertGonzalez »

Did you tell your server what to do with .php files?
Post Reply