output????

for some reason when I try to run a .php3 file it just echo's the entire document in my browser window..... anyone know why?
RainAsked:
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.

stekman_Commented:
Propably you haven't activated php 3in your web-server.  If  you use Apache, edit these two files and make sure the following lines are uncommented:

in /etc/httpd/conf/httpd.conf:
   LoadModule php3_module      libexec/libphp3.so
   AddModule mod_php3.c

And in /etc/httpd/conf/srm.conf:

   AddType application/x-httpd-php3 .php3
   AddType application/x-httpd-php3-source .phps

(Uncommenting these lines means you need to remove the # character at the beginning of each of these lines)

Once you have done this you need to restart your server with a command like the following:

     /etc/rc.d/init.d/httpd restart

/Stefan
0

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
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
PHP

From novice to tech pro — start learning today.