how to install two projects into one PC one WampServer?
Posted by: ihooi (116.232.180.---)
Date: September 07, 2008 09:50AM

I have installed one php project with WampServer into my winXP. It works well. Thanks to all the friends here for your help.

And I want to install another project , how could I ?


(I have installed my project into D:/Wamp/www/projectA)

Options: ReplyQuote
Re: how to install two projects into one PC one WampServer?
Posted by: Mchl (---.neoplus.adsl.tpnet.pl)
Date: September 07, 2008 12:13PM

Install next into D:/Wamp/www/projectB

Or is it not what you're asking about?

Options: ReplyQuote
Re: how to install two projects into one PC one WampServer?
Posted by: yfastud (Moderator)
Date: September 07, 2008 04:03PM


Options: ReplyQuote
Re: how to install two projects into one PC one WampServer?
Posted by: ihooi (116.232.180.---)
Date: September 07, 2008 04:49PM

I have put the codes of Project A into D:/wamp/www/Project A,

and then rewrote the file C:\WINDOWS\system32\drivers\etc\hosts

like this:

127.0.0.1 localhost
127.0.0.1 A.com

I defined the file Settings.php of Project A

like this:

define('A_DB_HOSTNAME', '127.0.0.1');
define('A_DB_PORT', 3306);
define('A_DB_USERNAME', 'root');
define('A_DB_PASSWORD', '');
define('A_DB_SCHEMATA', 'A');


and then log into [127.0.0.1] or [localhost] or [A.com]
to view my Project A.

so ,

I cannot install Project B when running my Project A now,

thanks /

Options: ReplyQuote
Re: how to install two projects into one PC one WampServer?
Posted by: yfastud (Moderator)
Date: September 08, 2008 05:11AM

Quote

I defined the file Settings.php of Project A

like this:

define('A_DB_HOSTNAME', '127.0.0.1');
define('A_DB_PORT', 3306);
define('A_DB_USERNAME', 'root');
define('A_DB_PASSWORD', '');
define('A_DB_SCHEMATA', 'A');
that's NOT in my guide :-(

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.