Solved

to iis or not to iis

Posted on 2004-04-02
5
252 Views
Last Modified: 2010-03-04
i have a winxp pro machine that will serve as my development enviornment.

the production enviornment will be a linux box running Apache, MySQL & PHP.

i also wish to use AMFPHP to mimick Flash Remoting.

1. Because I'm on WinXP Pro is it best to use IIS, Apache or both?
2. Is it better to install Apache, MySQL & PHP individually (manually) or is it better to download a package like ApacheFriends/Apache2Triad (auto-install).
3. Should i set up another machine on my network to act as my server since i heard that it was not a good idea to run apache, mysql and php locally?

very confused.... could use some clarification
thanks!
0
Comment
Question by:jmattsutton
5 Comments
 
LVL 27

Accepted Solution

by:
BigRat earned 168 total points
ID: 10739644
Since IIS does not run on a Linux box the first question resolves to "use Apache"

The second question is really hard. I have never used MySQL (personally) but one of us here has. And he downloaded Apache, MySQL and PHP and installed them separately (after getting each to work). I presume a complete package ensures consistancy.

We always recommend, and mostly our customers accept it, to run Apache on it's own machine, the databases and, in our case application server, on a server machine. Usually there is some sort of firewall between the two blocking all other ports and always insisting that requests come exclusively from the Apache machine. This has two advantages. Firstly security and secondly load balancing. The Apache machine may spawn, on high request loads, as much as it can without effecting the databases. But we don't do this in during development.


HTH
0
 
LVL 17

Assisted Solution

by:dorward
dorward earned 166 total points
ID: 10739646
1. Certainly not both - you'll find it a pain to muck about with Port numbers (they can't both listen on port 80). I'd go with Apache

2. It really doesn't make much difference. Its certainly easier to get a set of packaged ones working.

3. If its a development environment, its fine to run on your local machine (you might wish to configure it to only listen to localhost rather then any external network interfaces, and you probably won't want it on an Internet interface (you can run a firewall rather then configuring Apache not to listen if you like)).

My preference would be to run a UNIX box (FreeBSD/Linux/etc) on the LAN anyway - especially if the target environment is going to be such a box. That saves problems with differences in file systems etc).
0
 
LVL 2

Assisted Solution

by:healthstatus
healthstatus earned 166 total points
ID: 10761134
my 2 cents, don't use the package, you won't always get the latest of each version with the current patches, and the bundles tend to install where THEY want to, instead of what is generally accepted.  So if you need help, it may take more effort to figure out where things are.

Setup an old 300mhz running as the test machine, fast enough for 2-3 users and you will learn a lot.  Try and duplicate the production directory structure as closely as possible.
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 11760740
   No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
    I will leave the following recommendation for this question in the Cleanup topic area:

Split between BigRat, Dorward, and Heathstatus

    Any objections should be posted here in the next 4 days. After that time, the question will be closed.

    Periwinkle
    EE Cleanup Volunteer
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
PHP Upload using Uploadify 4 71
file path 14 67
Need to redirect request from IIS server to old Apache Server. 3 91
Apache 2.2 on Windows 2008 32 69
If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now