I'm installing bacula backup software. It has php-gd so I decided to use rpm. Since this is a RH9, I update to high version of apache and php. So I remove the old version and install the new one. The problem is, when I installed it, the sequence is php first and its dependencies and then the apache. Then, in the DocumentRoot, I create a file index.php and input "<?php phpinfo(); ?>". When I visit the site, it doesn't supply the right output.

Could someone help me? I edit http.conf and add:

AddType application/x-httpd-php .php
DirectoryIndex index.html index.html.var index.php

Version are below:

Still when I browse, it says <?php phpinfo(); ?> and not the php info