hellow i am linux newbie.i want to learn php.
i use ubuntu ultimate edition 1.5
so i didn't install apache php etc.they came with the package.
when i save a file in /var/www directory
and try to view the page by
http://localhost/hello.php
the web browser(Firefox) asks if i want to
download the php file instead of displaying it?
what should i do?
i checked this site
https://help.ubuntu.com/community/ApacheMySQLPHP
Troubleshooting
Does your browser ask if you want to download the php file instead of displaying it? If Apache is not actually parsing the php after you restarted it, install libapache2-mod-php4. It is installed when you install the php4 package, but may have been removed inadvertently by packages which need to run a different version of php. You may also need to actually enable it, by doing sudo a2enmod php4 followed by sudo /etc/init.d/apache2 restart. Be sure to clear your browser's cache before testing your site again.
^ tried the above solution.but nothing happend.
please help