Results 1 to 6 of 6

Thread: PHP Windows vs PHP Linux

  1. #1
    Funking Prink! Raz316's Avatar
    Join Date
    Jul 2003
    Location
    Deal, Kent, UK
    Posts
    2,978
    Thanks
    130
    Thanked
    62 times in 52 posts

    PHP Windows vs PHP Linux

    Now, where I used to work, I developed PHP on a windows server (using XAMPP) but the live system was running Linux. I figured it's the same language and assuming the actual Apache server is set up the same, they will basically run the same. As far as I was aware, they did run exactly the same.

    Now, I am about to take control of some code and when I said I would be running it on a windows machine, I was told by the current developer "Hmm, this PHP was coded for linux" which kind of confused me as I thought PHP was PHP?

    While I hope it isn't the case, I guess I might have to change some hard coded references to files, but that's it. Could it be anything else?

    Ta!

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: PHP Windows vs PHP Linux

    Paths: definitely, but not too big a deal

    It might use libraries which aren't available for Windows

    Or it might simply not have been tested on a fringe platform like PHP/Windows

  3. Received thanks from:

    Raz316 (09-12-2008)

  4. #3
    Funking Prink! Raz316's Avatar
    Join Date
    Jul 2003
    Location
    Deal, Kent, UK
    Posts
    2,978
    Thanks
    130
    Thanked
    62 times in 52 posts

    Re: PHP Windows vs PHP Linux

    Cheers Hex, that's what I thought.

  5. #4
    Registered User
    Join Date
    Dec 2008
    Posts
    1
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: PHP Windows vs PHP Linux

    Paths: definitely, but not too big a deal

    It might use libraries which aren't available for Windows

    Or it might simply not have been tested on a fringe platform like PHP/Windows

  6. #5
    Fried Chip Extremist alsenior's Avatar
    Join Date
    Nov 2005
    Location
    Stafford
    Posts
    2,949
    Thanks
    103
    Thanked
    191 times in 145 posts
    • alsenior's system
      • Motherboard:
      • DFI Lanparty Jr x58-T3H6
      • CPU:
      • Core i7 920
      • Memory:
      • 6 x 2GB ocz Gold
      • Storage:
      • 1 TB Samsung F3
      • Graphics card(s):
      • 1gb 4890 vapor-x xfire
      • PSU:
      • xfx 850W
      • Case:
      • Lian-li Pc7
      • Operating System:
      • Windows 7 X64
      • Monitor(s):
      • Dell 2208WFP
      • Internet:
      • 30mb Virgin media

    Re: PHP Windows vs PHP Linux

    Quote Originally Posted by Jay View Post
    What kind of emergency would need Windows 95? I think you are already in a bad state of emergency when your backup plan is Windows 95.
    Beginners guide to raid Beginners guide to raid post edition Hexus.Social - FAQ

  7. #6
    Registered+
    Join Date
    Dec 2008
    Posts
    19
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: PHP Windows vs PHP Linux

    In the past I have run into trouble with code that manipulate files, because the handling in Windows is different. Also you will have speed issues if the site is very busy.

    I have also had trouble installing some prefab scripts, I couldn't tell the reason for the problems, they just wouldn't install.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Windows - a brief guide inside
    By Paul Adams in forum Software
    Replies: 31
    Last Post: 23-06-2007, 03:14 PM
  2. Changes to Windows Vista Activation
    By Lee H in forum Software
    Replies: 0
    Last Post: 28-04-2007, 01:03 PM
  3. Replies: 15
    Last Post: 19-10-2006, 12:33 PM
  4. Linux Gaming
    By Steve in forum HEXUS Reviews
    Replies: 31
    Last Post: 28-05-2006, 10:15 PM
  5. We heard your feedback on Newegg....
    By DR in forum General Discussion
    Replies: 33
    Last Post: 05-03-2005, 08:13 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •