Forum Moderators: phranque

Message Too Old, No Replies

php not parsing

         

kkonline

7:35 pm on Aug 4, 2008 (gmt 0)

10+ Year Member



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?

jdMorgan

8:58 pm on Aug 4, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You will need to use Apache mod_mime AddHandler or AddType to tell the server to invoke the PHP engine to parse your pages, rather than simply sending them directly to the browser as texyt/html.

See the WebmasterWorld PHP forum library for more information on this subject, or try a search on this site.

Jim