• 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

    • If you don't want AI on your devices, sorry, but don't use Windows, macOS or Android/iOS phones, because those have AI and will have more of it as time goes on. Linux seems to be your only safe heaven (for now, since Red Hat already included AI functionality on version 10).
    • That sort of thinking is outdated. The exact problem with human drivers is that they kill A LOT of people. Machine vision can see significantly better than humans (all light spectrums) and react much faster. It's already to the point of stopping the car when a deer or bicyclist runs out in front of you, and it'll keep getting better. Driving is by far the most dangerous thing people do every day, so it would be stupid to not solve that problem.
    • 2 years of delays for an AI that had the lead to begin with. How sad. Good thing they came out with Apple Vision because people are lining up at the door for that one. /s
    • Steam finally has a native app for Apple Silicon Macs by Taras Buria About half a decade ago, Apple released the first Apple Silicon-based Macs with ARM processors, kicking off its chip revolution and severing ties with Intel. These chips were received to critical acclaim, and many developers optimized their apps for ARM relatively quickly—not Valve, though. Valve is only now getting ready to ship a native Steam client for macOS. The latest Steam Beta update is finally optimized for Apple Silicon, which means the app no longer relies on Rosetta 2, Apple's translation layer that emulates x86 applications on ARM-based chips. It is hardly surprising that it took Valve so long to optimize its client for Apple Silicon, considering Apple's low market share on Steam. Valve's monthly Hardware and Software Survey (check out the latest data here) shows that macOS has only 1.85% of all users, which is hardly what you call a priority. The survey's page itself makes it clear that the results help developers decide where to invest their time and effort. In recent years, Apple Silicon has made big strides in terms of graphical performance, which has made Mac a better gaming platform than before. Apple is also not giving up on its ongoing effort to make gaming on Mac more attractive. Every macOS release introduces new tools for developers and gamers (the recently announced iOS/iPadOS/macOS 26 received a new "Gaming" hub). Unfortunately for Apple, Macs still aren't popular for gaming, and the fact that it took Valve five years to optimize Steam for Apple Silicon just shows how difficult it is to convince everyone that Mac can game, too. In addition to native Apple Silicon support, the latest Steam Client Beta introduced improvements for Steam Chat, In-Game Overlay, and SteamOS. The complete changelog is available on the official Steam Community page.
  • Recent Achievements

    • 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
    • First Post
      LsDmT earned a badge
      First Post
    • Week One Done
      evershinefacilityservice earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      571
    2. 2
      ATLien_0
      251
    3. 3
      +Edouard
      162
    4. 4
      +FloatingFatMan
      148
    5. 5
      Michael Scrip
      113
  • Tell a friend

    Love Neowin? Tell a friend!