homepage Welcome to WebmasterWorld Guest from 54.205.106.111
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
2 Copies of MySQL & 2 Copies of Apache on Windows
Allen




msg:1508648
 9:37 am on Mar 20, 2003 (gmt 0)

Hi all,

Just be interested to know if anyone has tried running to copies of mysql & 2 copies of Apache on the same box (any version of Windows).

I want to be able to develop for the latest versions of Apache & MySQL but also make sure stuff wroks on the versions that our webservers (running Linux, but still Apache & MySQL) have.

I'm sure it's just a simple matter of changing the ports in the second copies.

Also, does anyone know if the major browsers (IE & Mozilla) look at 8080 and a secondary default?

IE. If I have one webserver on 80 with one site and a second server on 8080 with a different site (both on same domain), which one will be displayed if I just enter the domain?

Regards,

Allen

 

jpjones




msg:1508649
 11:13 am on Mar 20, 2003 (gmt 0)

I've not tried it on windows, but your theory is sound, and it works well on Linux. You should just have to change the port numbers - thats the only requirement.

Also, does anyone know if the major browsers (IE & Mozilla) look at 8080 and a secondary default?

Nope, they just look at port 80 by default, and that is it. If you want them to use another port number, you have to do it like this:
http://www.mydomain.com:portnumber/

HTH,
JP

andreasfriedrich




msg:1508650
 12:03 pm on Mar 20, 2003 (gmt 0)


>>I'm sure it's just a simple matter of changing the ports
>>in the second copies.

You would need to adjust where PHP [php.net] will look for its PHP [php.net].ini file as well. For the PHP [php.net] module you can just put each PHP [php.net].ini in the respective Apache [httpd.apache.org] directory. If done correctly having multiple copies of Apache [httpd.apache.org] coexisting on a machine should not be a problem.

For the files and places that might need configuring have a look at Putting a new dynamic PHP/MySQL site on a cd-rom - Any technology available to make dynamic access possible? [webmasterworld.com] and msg#4 of WAMP on CD ERROR with w98 - gd: unable to initialize module [webmasterworld.com].

Andreas

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved