You do not need to "run" your PHP files through Eclipse (or any IDE, for that matter). You can also easily debug by temporarily printing out the values โโof the variables that you are trying to check on the page. Just open your browser and browse to the file (for example: localhost / [page]? [Querystring]).
Remember that PHP is an interpreted language, not a compiled language (for example, Java or C #), so you do not need to โrunโ it from anywhere to a specific one. While your server is configured to process php files, you can view them through a browser.
Use the IDE for its code completion and development acceleration functions (as opposed to using the bare-bones text editor). Test in the browser.
source share