PHP.ini

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • infoseekar
    New Member
    • Mar 2008
    • 34

    PHP.ini

    My php.ini file location is c:\windows but I want it to change to c:\programs\php .

    How do I do it.

    thanks
  • aktar
    New Member
    • Jul 2006
    • 105

    #2
    Dont quote me on this, as I'm not a an expert on manual installation... BUT I think you have to change the path in you environmental settings. Heres how:

    ONLY FOR WINDOWS OS

    Right click my computer >
    go to the advance tab >
    Click on the environmental variables button at the bottom >
    Under the "system variables" list you'll find path
    Select it and edit >
    add a semi-colon (;) a the end of the text and add your php path where the ini file is located

    make sure you remove the original ini file in the windows directory

    WARNING
    this could be a dangerous business if you dont do it right (a bit like brain surgury where the paitent doesn't wake up again). You have been warned!!

    Comment

    • dlite922
      Recognized Expert Top Contributor
      • Dec 2007
      • 1586

      #3
      Originally posted by aktar
      Dont quote me on this, as I'm not a an expert on manual installation... BUT I think you have to change the path in you environmental settings. Heres how:

      ONLY FOR WINDOWS OS

      Right click my computer >
      go to the advance tab >
      Click on the environmental variables button at the bottom >
      Under the "system variables" list you'll find path
      Select it and edit >
      add a semi-colon (;) a the end of the text and add your php path where the ini file is located

      make sure you remove the original ini file in the windows directory

      WARNING
      this could be a dangerous business if you dont do it right (a bit like brain surgury where the paitent doesn't wake up again). You have been warned!!
      FYI

      C:\Windows is already in the PATH variable. :D

      Comment

      Working...