|local running and debugging php setup [message #685360]
||Fri, 17 June 2011 06:45
Registered: May 2011
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.
Powered by FUDForum
. Page generated in 0.01706 seconds