Forum Moderators: coopster & phranque

Message Too Old, No Replies

Anyway to run PHP and MySQL localy on a win200 box

I'm learning PHP and need PHP/MySQL on my PC, no network.

         

Soupisgoodfood

12:15 am on Jun 21, 2001 (gmt 0)

10+ Year Member



Hi. I've decided to learn PHP and MySQL. But the the only way to do it at the moment is to upload each time to the web server. This is really slow and horrible. And I'm sure there is away round it.

Is it possable to run PHP and MySQL localy on my machine? So when I load something like C:/test/index.php in Internet Explorer, It loads it properly as if it was on a server?

I'm not on a network. I'm just on a win2000pro box with a dial-up. And know nothing about networking.

If not, are there any emulator or anything that will alow me to test my php based sites localy, with no net connection?

toolman

1:03 am on Jun 21, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi there.

This [sourceforge.net]will do the trick.

littleman

5:39 am on Jun 21, 2001 (gmt 0)



Hey, that is pretty cool. I wonder if apache will soon be perceived as a viable web server on MS boxes? Perhaps it will get a boost from all the publicity of the security holes in IIS.

rpking

8:30 am on Jun 21, 2001 (gmt 0)

10+ Year Member



You can use your current webserver and install PHP from here [php.net] and mySQL from here [mysql.com].

The PHP is preconfigured to connect to mySQL. I've done this on a 98 machine with PWS, and I'm sure it's just as easy on a 2000 box.

Brett_Tabke

9:37 am on Jun 21, 2001 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



What I use:

Apache for Win32
PHP for Win32
WinPerl from activestate
MySql.

All running seamlessly under 98. It will take some tweaking to get it all setup. When you are done, you have a perfect offline mirror of your online sites. Imagine doing 100% of your development work offline. Just edit, switch to browser and surf your site at hd speed. All edit's happen in real time. It will cut your development time by 75%. When complete and satisified, just upload the changed pages, or the whole site in one step.

Aside from winders itself, all of the above tools are Free GNU software and represent proof that Open Source Software can build a better program.

Soupisgoodfood

11:22 pm on Jun 21, 2001 (gmt 0)

10+ Year Member



Thanks guys. I'm downloading it now. And will give it ago.

One thing. I might be moving to a Mac soon. Is it possable to do this in on a Mac?

Drastic

8:10 pm on Jun 22, 2001 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ok, gang, I'm a little confused here. (not surprising)

I installed the foxserv setup toolman told us about - sweet, smooth install. Just ran the install prog, and it works. Have yet to do anything on it yet, but seems fine so far.

But, in this thread [webmasterworld.com], toolman says "Then all you have to do is add the Perl modules." What/where can find what I need? Do I need activeperl/winperl too? Instead? Not sure what to do next - everything has always been installed by my host on remote machines up til now.

>I wonder if apache will soon be perceived as a viable web server on MS boxes?
That would be awesome.

"Warning: Apache on NT has not yet been optimized for performance. Apache still performs best, and is most reliable on Unix platforms. Over time NT performance has improved, and great progress is being made in the upcoming version 2.0 of Apache for the Windows platforms."
Taken from: Using Apache With Microsoft Windows [httpd.apache.org]

Soup, Hi and welcome to the forums.
>Is it possable to do this in on a Mac?
Running a google search [google.com], looks like it's possible on Mac running OS X.

evinrude

10:01 pm on Jun 22, 2001 (gmt 0)

10+ Year Member



>What/where can find what I need?

You can find a ton of great Perl/Perl Module info at [cpan.org...]
(CPAN = Comprehensive Perl Archive Network) Instructions are given for installing modules on a number of platforms.

>I wonder if apache will soon be perceived as a viable web server on MS boxes?

It's already in use in many companies, particularly those that have chosen to use Oracles Application Server. Oracle Portal is based off of Apache for Windows. I've had a few "tastes" of it, it seems quite stable and robust. From what I've read on Oracles site, Oracle 9iAS for Windows will (does? I'm not sure of the timeline..) use Apache as its core as well.