Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PDT » local running and debugging php setup (why do i need apache server running?)
local running and debugging php setup [message #685360] Fri, 17 June 2011 06:45 Go to previous message
freetochoose is currently offline freetochoose
Messages: 19
Registered: May 2011
Junior Member
Hi:

I am new to php. I have been using Eclipse for java for some time and have done
some simple html and php website stuff without a debugger.
But I cannot understand why I need to have my Apache running when I run or debug a php file locally.
As I understand, when your browser reads a file remotely, the server (Apache) on the romote machine will read the file requested and let php do its work if needs be.
THen send the resulting file back to your browser.
Now I have all my php files locally on my machine, there is no need for the Apache server running at all.
PDT can just read my php file and call php.exe to parse it and send the resulting file
to an internal browser or external browser such as firefox. this does not involve
the need of a server at all.
Now I need to have my Apache running and create a link of my php files to the web
root directory. and if i create more php files in different directories, i will need
to create more links so Apache can read these files.
This is quite unnecessary since all the files are on my local machine.
Am I missing something or setup something wrong here?
Any help is appreciated. I really just want to run and debug php, html files on my local harddrives.

ftc
 
Read Message
Read Message
Read Message
Previous Topic:Cannot "Run As" in eclipse PDT (Php script)
Next Topic:Configuring wamp server and eclipse php
Goto Forum:
  


Current Time: Wed May 22 15:27:07 EDT 2013

Powered by FUDForum. Page generated in 0.01562 seconds