Problems with php (including php/fi and php3)

1. How do I enable php?

First of all ensure that the rpm's are installed:

rpm -qa|grep php

mod_php3-3.0.9-1
mod_php3-imap-3.0.9-1

Then you will need to go into your /etc/httpd/conf/httpd.conf and uncomment the appropriate lines to enable them a full installation procedure is in your manual. For information on configuring the imap rpm that's listed above see the webmail link from the main FAQ page.

2. How do I test php to make sure that it's working?

For php3 create a file in /home/httpd/html/ called test.php3. In this file put the following line only:

<?php phpinfo(); ?>

Then browse the page!