Investeerders

Kennisbank

1.000 veelgestelde vragen, 500 tutorials en uitlegvideo's. Hier vind je alleen maar oplossingen!

Modify the include_path

This guide explains how to modify the value of the PHP directive include_path.

 

Modify the include_path

Like any other PHP setting, include_path is defined in the .user.ini file.

Here is an example of a path to use in your .user.ini file:

  • The dot (.) at the beginning allows the current directory to be included in the search.
  • Le point (.) au début permet de conserver le répertoire courant dans la recherche.
  • The colon (:) is used as a separator between the different folders.

Refer to this other guide about phpinfo to verify that your new directive has been taken into account (it may take a few minutes for the change to appear).

Although this method is still functional, using Composer's autoloader is now the preferred solution for managing includes.

Link naar deze veelgestelde vragen: https://faq.infomaniak.com/1108


Is deze veelgestelde vragenlijst nuttig geweest?