larkl

Group: Members
Posts: 177
Joined: Sep. 2005 |
 |
Posted: Jan. 29 2006,15:33 |
 |
Thought I spend a few days playing with PHP, so I downloaded PHP and then started Monkey. A simple php test file:
Code Sample | <html> <head> <title>PHP Test</title> </head> <body> <?php echo <p>'Hello World'</p>; ?> </body> </html> |
Outputs the following:
Code Sample | 'Hello World'
; ?> | The punctuation following the text shouldn't be there, but I thinkit shows that PHP is installed and working in some fashion..
Further, the following:Code Sample | <html><body> <? phpinfo(); ?> </body></html> |
outputs absolutey nothing. I've been searching for hours and can't find anything to explain this. I've got the files in /opt/monkey/htdocs. I also notice that they are also 'magically' also in /opt/monkey-0.9.1/htdocs. I suspect I'm making some bone-headed mistake, any ideas?
|