Multiple directories with include_path

Discussion in 'PHP' started by Tintumol, Dec 13, 2010.

  1. #1
    I need the format for listing multiple directories with include_path in the php.ini file, thanx
     
    Tintumol, Dec 13, 2010 IP
  2. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    737
    Likes Received:
    52
    Best Answers:
    33
    Trophy Points:
    150
    #2
    If you are using linux, the directories are separated by a colon :)). If you are using windows, then they are separated by a semicolon (;).

    If you open your PHP.ini you will see an example, usually two directories, the current one (.) and the PHP includes:

    include_path = ".:/php/includes"
     
    ThePHPMaster, Dec 13, 2010 IP