Thread: Apache [2.xxx] and PHP [4.xxx]

  1. #1
    Wondering_Guy
    Guest

    Apache [2.xxx] and PHP [4.xxx]

    I'm currently running IIS v5.x w/ Win 2000 Pro SP3

    I'd like to install the newest Apache [2.xxx] and PHP [4.xxx]
    Alongside my IIS.

    Is this possible?

    when I type http://localhost/ which webserver will answer ?

    Is this configurable ?

    Can PHP run with both IIS and apache simultaneously with the 1 install ?


    ....Too many questions....

  2. #2
    Not sure if BOTH will respond - I would just forget about Apache since IIS is a more capable server and u can install PHP as an IIS Module(DLL) and I assume U have MSSQL installed - that is the best of all worlds. If u don't have MSSQL I would go ahead and get MySQL (www.mysql.com).
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    385
    IIS more capable than Apache? There's plenty of webhosts that would argue that.

    If you have both installed and both listening on port 80 then things will get ugly. If you have them listening on different ports then they should work just fine in parallel.
    Wandering aimlessly through C.....

    http://dbrink.phpwebhosting.com

  4. #4
    I meant that as Apache is not designed for heavy traffic and lacks some features that IIS has. There own documentation states just that.
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

  5. #5
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by OneStiffRod
    I meant that as Apache is not designed for heavy traffic and lacks some features that IIS has. There own documentation states just that.
    Maybe for windows....but I wouldnt say the same for the *nix version.....lots of the web runs off that

  6. #6
    Registered User
    Join Date
    Oct 2002
    Posts
    385
    I don't mean to hijack this thread but I don't see anywhere on their site that states this. They do state that some commercial webservers have claimed to surpassed Apache in speed but nothing has been proven. It also says that Apache is run on sites that get millions of hits per day with no performance difficulties......

    What features does IIS have over Apache? I'm asking because I'm curious not because I don't believe you.
    Last edited by damonbrinkley; 01-13-2003 at 02:22 PM.
    Wandering aimlessly through C.....

    http://dbrink.phpwebhosting.com

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    Originally posted by damonbrinkley
    I don't mean to hijack this thread but I don't see anywhere on their site that states this. They do state that some commercial webservers have claimed to surpassed Apache in speed but nothing has been proven. It also says that Apache is run on sites that get millions of hits per day with no performance difficulties......

    What features does IIS have over Apache? I'm asking because I'm curious no because I don't believe you.
    I downloaded the windows version once and the help files did labour the point that this version of apache shouldnt be used as a commercial webserver (not suprisingly they arent overly interested in making webservers for this platform).......I dont know if this is still the case with later versions......

  8. #8
    Registered User
    Join Date
    Oct 2002
    Posts
    385
    Sorry, I'm thinking more on the lines of Apache on Linux and not on Windows. I could understand there being limitations on Apache on Windows compared to IIS.
    Wandering aimlessly through C.....

    http://dbrink.phpwebhosting.com

  9. #9
    Registered User codingmaster's Avatar
    Join Date
    Sep 2002
    Posts
    309
    If u wanna run Apache and PHP.

    Download Apache: www.apache.org
    Download PHP: www.php.net

    Have a look into the installation guide in the php package.....

    It's very simple............

    I think, that there is also enough performance with Windows and Apache.

    But Apache was designed for *nix systems and not for windows
    U have more security, if u r running apache on a *nix system.

    Maybe u wanna install MySQL for databases.....

    It works on Windows and on *nix

    www.mysql.org

    For extended PHP installation: have a look into the php manual
    U can download it from the official website, www.php.net

    I have running Apache 2.0.43 and PHP 4.3.0 on Windows and on Unix too. So there aren't any problems with open source *g*

  10. #10
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    the reason the documentation says not to run it for a commercial webserver is becuase win9x is not secure, therefore no matter how secure apache is it cannot prevent hacks or crashes on your box. The same goes for running IIS on win9x (whether is says so or not)
    PHP and XML
    Let's talk about SAX

  11. #11
    Wondering_Guy
    Guest

    Perms

    On Windows NTFS is it possible to give Read and execute to the
    C:\Apache Group\Apache2\htdocs folder but not list rolder contents ?

    I'm running apache with a user named "Apache", so the permissions are for that account.

    Removing the "List folder content" permission means you cant browse the pages either.


    I obviously wasn't successful.....

  12. #12
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,227
    Try adding in an index.html page to the folder (unless I misunderstand what you're saying).

    But then again, certain webservers are then suceptable (sp?) to things like http://mysite.com/index.html/.. , http://mysite.com/index.html/?..?/ , etc. Webservers have loopholes in spades, but usually adding an index.html will discourage most people from listing your folder contents.

  13. #13
    In apache the .htaccess files control the security, whether someone can BROWSE the directory or not. In IIS, you just gotta check/uncheck button.
    My Avatar says: "Stay in School"

    Rocco is the Boy!
    "SHUT YOUR LIPS..."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. PHP installation
    By ssharish2005 in forum Tech Board
    Replies: 8
    Last Post: 11-23-2007, 09:42 PM
  2. PHP on my Computer!
    By xxxrugby in forum Tech Board
    Replies: 4
    Last Post: 03-15-2005, 09:34 AM
  3. PHP Rocks!
    By Waldo2k2 in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 01-14-2003, 02:11 PM
  4. PHP 4.3.0 released
    By codingmaster in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-30-2002, 07:40 AM
  5. PHP and Apache On Linux
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 05-07-2002, 12:10 PM