Development PHP.ini on windows servers

Discussion in 'Software' started by OneSeventeen, 2 Sep 2004.

  1. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    At work I'm using PHP on a Windows Server and can't seem to make a user-definied php.ini file. All I really want to do is set up a default include directory without messing with the other users on the server.

    Anyone know if this is possible? Or is this an apache/*nix feature?
     
  2. ellism

    ellism What's a Dremel?

    Joined:
    10 Sep 2003
    Posts:
    348
    Likes Received:
    0
    you should be able to jsut edit the default ini file which is in the folder you installed to, as far as i know it is basicly the same as the linux version.
     
  3. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    But if I edit the default ini file to have all includes pull from a specific folder, then all of the other users on the machine (spread across 4 different cities right now) will be pulling from my include folder by default, which could cause some confusion.

    I'm just trying to figure out what it would take to have PHP look in the current/parent directory for an ini file.
    On my linux hosting service I have 4 different ini files, each geared towards the portion of the site they are located in.
     
  4. scoob8000

    scoob8000 Wheres my plasma cutter?

    Joined:
    17 Feb 2002
    Posts:
    1,947
    Likes Received:
    0
    You should just be able to edit the stock config..

    should be c:\winnt\php.ini

    -scoob8000
     
  5. OneSeventeen

    OneSeventeen Oooh Shiny!

    Joined:
    3 Apr 2002
    Posts:
    3,454
    Likes Received:
    2
    I am working on a machine with about 4 different users, and they are all relying on the stock php.ini file to remain the same.

    If I change the file, it will affect 4 different call-centers and roughly 3500 users :(
     
  6. dfhaii

    dfhaii internets

    Joined:
    24 Mar 2002
    Posts:
    520
    Likes Received:
    0
    Is it possible with ini-set() at runtime?

    Col
     
  7. Hwulex

    Hwulex What's a Dremel?

    Joined:
    1 Feb 2002
    Posts:
    4,007
    Likes Received:
    1
    lol @ replies.

    Don't worry, *I* know what you mean. I just don't know how you do it, sorry. We use Linux servers at work, and as such have no Windows specific experience.

    Quick search around though found this:
    .
    :D
     

Share This Page