PDA

View Full Version : [ubuntu] Trouble configuring so I firefox recognises php files.



Bucephalus01
August 28th, 2008, 02:32 PM
Hi

I have installed mysql, php, and apache2.
I did test php file put it in /var/www/ and then opened up firefox and http://localhost/testphp.php

It worked. I didn't even have to add php to the httpd.conf.
Since then I have installed Netbeans 6.5.
Now I can't read php files. I tried with html and it does work, so I know it's not picking up php files.
So I go to /etc/apache2/ and I vi httpd.conf
It's empty. I tried opening it with gedit after that and it's empty.
Where do I find this file so I can add php files? Or how do I fix this?

thanks