Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Modify the include_path
Update 08/06/2026
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 to this FAQ: https://faq.infomaniak.com/1108
Has this FAQ been helpful?