• 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

    • Yes and No... Yesterday there was someone on another forum asking what Linux version he should use for his transition from Windows, based on his graphical/video/3d needs. He got 10 different Linux distros and a handful of GUI's as an answer. Linux for the uninformed is just a hot mess regarding distributions. People are used to one Windows version. Or one Mac. Not having to choose from a pile of... what actually? And yes, Linux Mint would be a great replacement as long as you use the PC for the basics. Anything else will quickly result in frustration and searching on various forums. Linux isn't really the easy replacement for Windows. As I hate to say it, transitioning to a Mac is a way better experience. And I'm not entirely unfamiliar with Linux, having extensively dabbled with Mint and lately with Rocky for my Davinci Resolve experiments. It's still a pain... It really is..
    • Welcome on board!
    • iOS 26 leaks reveal AI-powered Messages, animated Music lock screen, and CarPlay redesign by Sagar Naresh Bhavsar A lot of these are reportedly changing this year for Apple. While the "Plus" model is expected to be replaced with the iPhone 17 Air, the iOS software is also expected to undergo a major branding change. Instead of iOS 19, Apple is rumored to introduce iOS 26 at the upcoming WWDC 2025 event on June 9. Not only iOS, but the change is expected across all platforms. Meaning, from this year, it could all be streamlined: iOS 26, iPadOS 26, macOS 26, watchOS 26, and more. However, since Apple Intelligence is still in its early stages, Apple is expected to introduce a slew of new features to apps such as Music, Messages, Notes, and CarPlay. According to 9to5Mac, Apple is preparing some "low-profile enhancements" for everyday apps, based on the information from previously accurate sources. As per the report, the Messages app could get an "Automatic Translation" feature that will make use of AI (artificial intelligence) to translate both incoming and outgoing messages. Plus, the Messages app could also gain a "Polls" feature, letting group chat members vote directly within the app. Apple Music is also expected to get a new full-screen animated lock screen artwork, enhancing the Now Playing widget by bringing a maximized look to the album art on the lock screen. The Notes app could also gain the ability to export notes in Markdown, a long-requested feature that third-party apps have supported for years. Apple recently introduced CarPlay Ultra, with some amazing changes, but that is limited to a few luxury cars at the moment. The standard CarPlay is expected to get a UI overhaul with iOS 26. While details remain under wraps, the new interface is speculated to reflect the sleek, glass-like design of iOS 26. Since these are still rumors, we suggest you take them with a pinch of salt. If you are confused about which iPhones will support iOS 26, you can check out the list of supported phones here.
    • Greetings!
    • Hmm, I'll give it a go
  • Recent Achievements

    • Week One Done
      Leonard grant earned a badge
      Week One Done
    • One Month Later
      portacnb1 earned a badge
      One Month Later
    • Week One Done
      portacnb1 earned a badge
      Week One Done
    • First Post
      m10d earned a badge
      First Post
    • Conversation Starter
      DarkShrunken earned a badge
      Conversation Starter
  • Popular Contributors

    1. 1
      +primortal
      261
    2. 2
      snowy owl
      158
    3. 3
      +FloatingFatMan
      145
    4. 4
      ATLien_0
      140
    5. 5
      Xenon
      131
  • Tell a friend

    Love Neowin? Tell a friend!