I just installed a fresh Slackware 10.0 and I got Apache working but it doesn't seem to want to work with PHP. I thought Slackware came with PHP already installed so I just put this sample test file in htdocs.
Code:
<p>This page was created at <b>
<?php echo date("h:i:s a", time()); ?>
</b> on the computer running PHP.</p>
I named it timetest.php and when I load
http://localhost/timetest.php it just gives me back the code insted of showing the time like it's supposed to. I'm kinda half way following the turorial on Dreamweaver on my Windows partition and that's where I got that code from.