• 0

How to install PHP intranet at work?


Question

Hi everyone,

I would like to install a basic PHP Intranet at work with a MySQL Database.

I managed to install the website on the main Server (Windows Server 2008),

I can access the website via "http://localhost/" and "http://127.0.0.1"

but I can't access this website from my other work computers on the same network.

All my company computers are connected through a LAN network.

How can I make the website accessible to all computers connected to the network?

Thanks

Link to comment
https://www.neowin.net/forum/topic/826834-how-to-install-php-intranet-at-work/
Share on other sites

10 answers to this question

Recommended Posts

  • 0

You need to asign a Host header to the website, so the server knows to what host header to listen to and to which site to redirect. You can host multiple sites on one server and with Host headers you determine which site to load on which url

example: http://192.168.1.10/ or http://intranet.companydomain.com/

  • 0

I'm using Apache on XAMPP (but I can use IIS if you think it'll be easier)

Can you give me more details about the "Host header"... I don't know what it means

I tried to access the IP of of the server http://192.168.1.10/

but I receive a 404 page error

It's because of this error that I ask for your help

  • 0
  sbauer said:
Remove XAMPP from the production server. Just use IIS. PHP + IIS is fine. http://www.microsoft.com/web/platform/phponwindows.aspx

IIS + PHP will be easier to share on the internal server than using XAMPP?

This link you provided me is excellent!! :)

  • 0
  Tropical Dream said:
IIS + PHP will be easier to share on the internal server than using XAMPP?

This link you provided me is excellent!! :)

Yes. XAMPP on a production server is not acceptable. It's fine if you need something quick and dirty on your development machine, but you need to know how to maintain and manage Apache, PHP, mods, database (mysql), and security, individually when working in a production environment. Over the course of the machine's lifetime, something will break, and you'll need to know how to support it.

IIS 7 (the version on Windows Server 2008) is very powerful. Microsoft has worked with the PHP project directly to make sure PHP works well under IIS 7.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Anker announces global recall of five power bank models over fire safety risks by Aditya Tiwari The Chinese electronics brand, Anker Innovations, known for its mobile accessories and power banks has announced a voluntary global recall of five power bank models. The decision comes after the company spotted a potential fire hazard issue with lithium-ion battery cells from a particular vendor. Anker said that it put up a series of quality checks to detect manufacturing issues early in the production cycle, which include component level-audits and supplier testing. The company assured that "while the likelihood of malfunction is considered minimal, out of an abundance of caution, we have decided to initiate a voluntary global recall of several Anker power bank models." Here's the list of the Anker Power Bank models chosen for the global recall: Model A1257 - Anker Power Bank (10K, 22.5W) Model A1647 - Anker Power Bank (20,000mAh, 22.5W, Built-In USB-C Cable) Model A1652 - Anker MagGo Power Bank (10,000mAh, 7.5W) Model A1681 - Anker Zolo Power Bank (20K, 30W, Built-In USB-C and Lightning Cable) Model A1689 - Anker Zolo Power Bank (20K, 30W, Built-In USB-C Cable) If you think you own one of the affected power banks, you can check the model number located on the back or side of your power bank. After that, you can fill out the recall form to start the process and verify the serial number of your affected device. If your power bank is eligible for the recall, you can either get a replacement or receive a gift card for use on the Anker website. It's not offering any refunds in the US at the moment. Anker advises that you should stop using an impacted power bank immediately even if the device functions normally right now. A unit confirmed for the recall could pose the risk of overheating, melting, smoke, or fire. This is the second major recall from Anker in the same month after more than a dozen reports of fires and explosions. The company previously recalled over one million Anker PowerCore 10000 (A1263) power bank units, citing fire safety risks due to a potential issue with the Lithium-ion battery. These power banks were sold in the US from January 1, 2016 through December 31, 2022.
    • What learning curve !!?? Govt office employees never learn anything !! they're just there to not work !!
    • "The entire scanning and conversion process takes place locally on your device, using Android’s built-in API for snapping documents. The document itself is also only stored locally until you decide to send it. Just like other WhatsApp messages, these scans are secured with end-to-end encryption when you send them to recipients. The only privacy risk is the user sending the PDF to the wrong person."
    • It is a great product though... in this case, I don't mind paying.
  • Recent Achievements

    • Collaborator
      Mighty Pen went up a rank
      Collaborator
    • Week One Done
      emptyother earned a badge
      Week One Done
    • Week One Done
      DarkWun earned a badge
      Week One Done
    • Very Popular
      valkyr09 earned a badge
      Very Popular
    • Week One Done
      suprememobiles earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      568
    2. 2
      +FloatingFatMan
      189
    3. 3
      ATLien_0
      179
    4. 4
      Skyfrog
      112
    5. 5
      Xenon
      110
  • Tell a friend

    Love Neowin? Tell a friend!