Hello,
Is there a way I can run/test my PHP code without having to setup a full blown web server and such on my client machine. Or am I stuck sending the files back and forth?
Either and IDE that does this or a way to setup a PHP environment just for testing code and such.
Thanks,
Mike
Testing PHP without the server
Moderator: General Moderators
Re: Testing PHP without the server
If your on Windows, the Easiest I would say is xampp.
There are a few IDE's that can debug by executing the file with the php executable. I think Eclipse is one of those.
There are a few IDE's that can debug by executing the file with the php executable. I think Eclipse is one of those.
Re: Testing PHP without the server
I am on Linux...
I will look at Eclipse
Thanks
I will look at Eclipse
Thanks
Re: Testing PHP without the server
I assumed, your on Windows because I don't see why its such a problem running Apache, or even Lighttpd on linux. I actually run both, and don't notice anything.MikeEller wrote:I am on Linux...
I will look at Eclipse
Thanks
Re: Testing PHP without the server
Yeah, I will probably just break down and run apache on my client machine. I was just wondering if there was way or tool to use to avoid it.
v/r
Mike
v/r
Mike
Re: Testing PHP without the server
I'd recommend doing that, then you will be testing your development scripts in a real environment. As was said earlier, it's a simple install and doesn't use much resources (as long as it's not serving thousands of requests, of course).MikeEller wrote:Yeah, I will probably just break down and run apache on my client machine. I was just wondering if there was way or tool to use to avoid it.
v/r
Mike
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: Testing PHP without the server
Yes, I run a localhost webserver on every development machine. I make my Eclipse workspace directory the htdocs directory and checkout sites from CVS there a well.
(#10850)