There is only one port 80 (the port used by your browser by default to
connect to apache), choose a different port for the second instance, and you
should be ok, but all url's will have to have a non-standard port number.

Same is true for MySQL (different port number, but same conflict).
Configure your 2nd MySQL to listen to a different port, and make sure that
all your PHP code connects to MySQL using the different (non-standard) port
number.

I'm guessing two things; 1) if there are other common dependencies, like
system registry (there is only one per machine) you will run into those and
2) other configuration dependencies (like things that need to be on the C:
drive) will pop up (like php.ini?).

My recommendation would be to get a 2nd cheap machine, and network them.  My
experience at doing this tells me machines are less expensive than the
headaches you are going to have with conflicts.  But you do stand to learn a
lot, or at the very least a lot of things that you will never use again.

good luck,

Warren Vail


-----Original Message-----
From: Freedomware [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 13, 2004 1:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Installing PHP on 2nd Windows Drive


I got a preconfigured package - Apache 2.0/PHP/MySQL - up and running,
then I installed Apache 1.3. Everything seems to be working fine, and
I'm ready to start tweaking it.

In the meantime, I bought a book about Apache, PHP and MySQL, which
includes tutorials on downloading the programs individually.

I don't want to mess up what I've already installed, but I have an
external hard drive that I use for backing up my documents. Could I
install new Apache, PHP and MySQL programs on that drive? They wouldn't
interfere with the equivalent programs on the C drive, would they?

In fact, is it possible to have PHP programs from two hard drives open
at the same time? After all, I can open up documents on both drives with
Windows Explorer.

Of course, I guess I'd have to install Dreamweaver on the second drive,
too, so I'd be able to test PHP and make sure it's working.

Thanks.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to