Welcome to WebmasterWorld Guest from 107.20.75.63

Forum Moderators: brotherhood of lan & mack

Message Too Old, No Replies

Server Emulation

Best way to test PHP-mySQL

     
12:34 pm on May 1, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 28, 2001
posts:1380
votes: 0


Is there an easy way to emulate either:
1) Apache PHP mySQL?
2) Linux PHP mySQL?
I've made several attempts to install these things on my home computer with little success. Is there maybe a product that simply installs all 3? I just want it for testing purposes.
12:36 pm on May 1, 2003 (gmt 0)

Full Member

10+ Year Member

joined:Jan 9, 2003
posts:330
votes: 0


try PHPdev firepages.com.au

it is really easy to install!

12:40 pm on May 1, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Jan 13, 2003
posts:1240
votes: 0


there is a package that installs the three quite simply (on my w2k machine anyway)

having just read another post about improving the quality of threads im not sure if i should post the link or sticky you or what....

....firepages.com.au

there, i did it, im sure this will get edited if that was the wrong thing to do :(

[edit]damn to slow[/edit]

12:45 pm on May 1, 2003 (gmt 0)

Full Member

10+ Year Member

joined:Dec 9, 2002
posts:325
votes: 0


Another idea is that you could go the whole hog and emulate a PC on your desktop, through such packages as VMWare and Virtual PC.

Then install one of the later Linux distributions from RedHat and you'll have a complete working Apache/PHP/MySQL installation ready for your tests.

HTH,
JP

1:57 pm on May 1, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Mar 14, 2003
posts:1550
votes: 0


also try [webattack.com...]

for php triad,not sure it install the latest php though

leo

2:09 pm on May 1, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 28, 2001
posts:1380
votes: 0


If I am able to complete an install of Red Hat Linux, is php and mysql pre-configured and ready to go? Is it as easy as adding the files and surfing to localhost in the browser? Or is it more complicated than than?

Thanks for the firepages link! I'm going to try that when I get home tonite.

2:55 pm on May 1, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:Mar 4, 2003
posts:96
votes: 0


the default install of Redhat (at least version 8, the last i did) doesn't install and configure all you need. You will need to do a custom install in order to ensure you get all you need. This is especially true of MySQL. If memory serves, RedHat will install Postgres (sp?) SQL by default, not MySQL. It's actually pretty easy to customize this during the setup, though.
But, as several other people have suggested, there are several good Apache/PHP/MySQL install kits available for Windows. Firepages is really nice, and I'm currently using FoxServ version 3 (I had some problems with 3.1, but those may be resolved by now). All of these are a breeze to install and don't work their way into the Windows registry, so they play well with other programs.
I chose FoxServ over Firepages because FoxServ takes you through setting up a MySQL username and password during install, while when I installed Firepages, it used the root user credentials. I found that being able to specify my own user name and password made things a lot easier for testing PHP scripts and simulating a web server environment. I'm sure you can change the default user name and password setup by firepages, but I liked the fact that FoxServ had this ready out of the box...
Hotscripts has a section for all the various Apache/PHP/MySQL kits available. I'd recomend setting these up in Windows, unless you're already comfortable with Linux.