Click to See Complete Forum and Search --> : Browser downloads the script


jeisma
05-03-2006, 08:02 AM
hi!

i was just trying to run this "<?php phpinfo(); ?>" on my ubuntu 5.10 system, the browser attempts to download the file?

what's wrong in my system?


thanks!

Icarus
05-03-2006, 09:14 AM
You need to enable Apache to execute server side scripting, almost every web based PHP project explains how to do this.

I think your case is because you are trying to run it locally without a web server at all and PHP is a server side scripting language.

Basicly you need Apache with PHP support :D