Re: Beginner's question: How to run a PHP web application locally?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2010-04-08 at 13:42 +0200, Bastien Helders wrote:

> Hi List,
> 
> The other day, I read an article that mentioned about a tool that would
> permit to simulate a web environment for PHP, so that testing could be made
> before uploading the page on the server. Unfortunately, I don't seem to find
> the article again.
> 
> So here am I with this question: What should I need to set my test
> environment? I'm working on Windows, but I'm all ears for solution on Linux
> systems.
> 
> Best Regards,
> Bastien


The easiest thing is to set up a local web server on your machine to
test with. This isn't as daunting as it sounds, as there are a lot of
ways you can get this set up with a minimum of fuss. The easiest to use
software I've used for Windows was EasyPHP, which is basically a WAMP
stack that is GUI all the way, allows easy add/drop of extra modules,
and now ever comes with an English installer (it used to be all in
French which made it a little tricky to understand!)

Otherwise, if you want to try the Linux route you can set this up on a
second machine, dual-boot with Windows or run inside a virtual machine
(Virtual Machine OSE is open source and free to use). I've not seen a
Linux distribution yet that didn't offer Apache and PHP. Generally a web
server will run something like Fedora, RedHat or CentOS, so using one of
those will get you a very similar set-up.

Thanks,
Ash
http://www.ashleysheridan.co.uk



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux