Adding Elements to a Project's Include Path

This procedure describes how to add a project/variable/folder to a project's include path.

 

Instructions on how to complete a procedure

To add a project/library to your project's include path:

  1. In PHP Explorer view, right-click the project's Include Paths.

  2. Select 'Configure Include Paths'.

  1. The project's PHP Include Path properties page will appear.

  1. To add a project to your Include Path:

  1.  Select the Projects tab.

  2. Click Add.
    The Required Project Selection dialog appears.

  3. Select the projects you would like to add and click OK.
    The selected project(s) will be added to your project's Include Path.

  1. To add Path Variables to your Include Path:

  1. Select the Libraries tab.

  2. Click Add Variable.
    The New Variable Entry dialog appears.

  3. Select the required Path Variable.

Note:

The Variable points to a folder. To choose an archive inside the folder, click Extend.
To add a Variable to the Path Variables list, click Configure Variables to be taken to the Path Variables Preferences page.

  1. Click OK.
    The Variable will be added to your project's Include Path.

  1. To add external folders to your Include Path:

  1. Select the Libraries tab.

  2. Click Add External Folder.
    The Add Include Path dialog appears.

  3. Browse to and select the required folder.

  4. Click OK.
    The folder will be added to your project's Include Path.

  1. Select the Order tab.

  2. Ensure the included elements appear in the same order as they do in your php.ini.

  3. If you want to rearrange the order, select an element and click Up or Down to move it in the list.

  4. Once all the elements are added and are in the right order, click OK.

All the selected elements will be added to the project's include path.

 

 

Related Links

Related Links:
Include Paths

Path Variables Preferences