Installing APACHE, PHP and MYSQL in Windows XP environment

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ezuhamu
    New Member
    • Oct 2006
    • 1

    Installing APACHE, PHP and MYSQL in Windows XP environment

    Hello there,

    I'm want install Apache, PHP and MYSQL for my client server environment. My network is only LAN, no internet, just for internal use only. i have 3 concurrent users, including Web application server (apache), that will access the website.

    My question is:
    1) What should I put for my network domain and server name??? if i put localdomain and localhost, then if i run the web server service, do my other concurrent users can access my website ( eg: index.php). How do they access to my website? from my server pc, i can used http://localhost/index.php or http://127.0.0.1/index.php to access this website, but how did my workgroup to access this website??? what their url address??

    Please give me an idea. Thanks.
  • jonndoe45
    New Member
    • Oct 2006
    • 3

    #2
    Use http://127.0.0.1/index.php as localhost is specific to your machine, have the "same setup" where i have a laptop and a dev server.

    Also in your appache httpd.conf file you will need to grant access to your webservers document root to other users, e.g

    #
    # This should be changed to whatever you set DocumentRoot to.
    #
    <Directory "X:/blah">

    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwner Match ExecCGI MultiViews
    #
    # Note that "MultiViews " must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.or g/docs-2.0/mod/core.html#optio ns
    # for more information.
    #
    Options Indexes FollowSymLinks Includes


    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all

    </Directory>


    "Allow from" can be ip address specific

    Hope this helps
    Jonndoe45

    Comment

    Working...