Apache + php3 + mysql

Using RedHat Linux 6.0 .  Trying to use php3 applications with Apache.  When I run http://localhost/php3application.php3 , all I get is an output of the script .  I uncommented all the php3 statements in httpd.conf .  Someone suggested in httpd.conf to insert :
AddType application/x-httpd-php3 .php3 .  There is no application directory in my httpd tree and also it still did not work.  Please help !
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

reminAuthor Commented:
Happy if you can answer question .
have you actually INSTALLED php3 it is NOT installed by default.

look at http://www.php.net/FAQ.php3 and note item 3.3

but basically you need:

httpd.conf:LoadModule php3_module        modules/libphp3.so in httpd.conf

httpd.conf:AddModule mod_php3.c in httpd.conf


srm.conf:AddType application/x-httpd-php3 .php3
srm.conf:AddType application/x-httpd-php3-source .phps
srm.conf:#AddType application/x-httpd-php .phtml

in srm.conf

also updating DirectoryIndex index.html index.php3 index.htm default.html index.cgi in srm.conf is useful.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
GAH!. strip everything before and including the :

(meaning srm.conf:AddType application/x-httpd-php3 .php3
 should in fact be AddType application/x-httpd-php3 .php3) i just pasted the output of my grep by misstake.
reminAuthor Commented:
srm.conf:AddType application/x-httpd-php3 .php3
Is application a directory located on the httpd directory .  I could not find it .
it isnt a path, it's a MIME definition.

remember to strip the srm.conf:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.