• 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

    • Amazon Deal: Sony 65 inch 4K Bravia 5 2025 Mini LED TV with Dolby Vision/Atmos is $200 off by Sayan Sen Recently, we covered soundbar home theatre deals from Samsung and JBL for under $1000. Those are still selling for their best prices and you can check them out in their respective articles linked above. Obviously, for a home theatre, you also need a display, and depending on the kind of setup and room you have, you could choose a fairly premium projector like Valerion's StreamMaster Plus2 4K that is currently $300 off on Amazon US, or you could look for a TV. If you are looking for something for under $1500 then Sony has a great deal at the moment. The company's Bravia 5 mini LED 65-inch TV is on sale for $1298 thanks to a $200 discount (purchase link under the specs list below). Mini LEDs, unlike LEDs, promise much better precision in terms of backlighting which should lead to better contrasts with deeper blacks and brighter whites without being overblown either way. The full specs of the Bravia 5 are given below: Display Resolution: 3840 x 2160 (4K UHD) Panel Type: LCD with Mini LED backlight Backlight Dimming: XR Backlight Master Drive with local dimming for enhanced contrast Panel Refresh Rate: 120 Hz HDR Compatibility: Supports HDR10, HLG, and Dolby Vision Color & Image Processing: XR Triluminos Pro™ with Live Color™ technology, XR Clear Image, and XR Motion Clarity™ Connectivity & Ports: HDMI Inputs: 4 side-mounted (supports HDMI 2.1 features including 4K at 120Hz, eARC, VRR, ALLM, and SBTM) HDCP: Version 2.3 on all HDMI ports USB Ports: 2 side ports (supports FAT16, FAT32, exFAT, and NTFS formats) Other Ports: RS-232C Input: 1 (side) Digital Audio Output: 1 (side) RF (Terrestrial/Cable) Input: 1 (side) LAN Input: 1 (side) Wireless & Smart Features: Wi‑Fi: Dual‑band (2.4 GHz/5 GHz) with support for Wi‑Fi Certified 802.11 and Wi‑Fi 6 Bluetooth: Version 5.3 (compatible with A2DP, HID, HOGP, SPP, and AVRCP) Built‑in Chromecast: Yes Operating Platform: Google TV Smart Connectivity: Features BRAVIA Sync (with HDMI‑CEC), Apple HomeKit, and Apple AirPlay Get it at the link below: Sony BRAVIA 5 65 Inch TV, Mini LED, 4K120hz Television with Dolby Vision/Atmos, Exclusive Features for PlayStation®5, K-65XR50, 2025 Model: $1298.00 (Shipped and Sold by Amazon US) This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • At the end of the day, there isn't a lot of incentive for Android tablets. I have one, but only because I am a developer and didn't want a phone and the price was right.
    • Tablet numbers have been declining for years. The iPad is the exception to the rule, because it has some niche audiences, otherwise consumers are releasing they are generally not what they need
  • Recent Achievements

    • Explorer
      Case_f went up a rank
      Explorer
    • Conversation Starter
      Jamie Smith earned a badge
      Conversation Starter
    • First Post
      NeoToad777 earned a badge
      First Post
    • Week One Done
      JoeV earned a badge
      Week One Done
    • One Month Later
      VAT Services in UAE earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      523
    2. 2
      ATLien_0
      231
    3. 3
      +FloatingFatMan
      150
    4. 4
      +Edouard
      142
    5. 5
      Michael Scrip
      109
  • Tell a friend

    Love Neowin? Tell a friend!