I'm using ubutnu 10.10 and using eclipse php editor.But i don't know how to run the PHP file in the browser.As for simple text editor we just go to browser and write the url as
"localhost/file.php".Please help.

For PHP file to run in the browser you have to have a running web server on the machine. I use Fedora and Apache (and Mysql as a database). So check if you have some sort of web server (i.e. Apache or LAMP) installed and started. You can install a web server using software management utility on Ubuntu.

I use Apapche on Fedora and to browse my local PHP scripts I put them in /var/www/html directory (configurable in Apache) and then they can be viewed in browser through http://localhost address. Hope this late reply helps.

In Eclipse:
run->run configurations
Do server configuration (use selected server->configure)
Then run active file using these configs

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.