Change Include Path - Script or the Custom php.ini File
If you need to change the include_path, you can do so in the script itself or in the custom php.ini file.
In a PHP script you would add this line:
with the path you want to use.
Alternatively, you can place this directive in the php.ini file.
The php.ini file is where you declare changes to your PHP settings. You can edit the existing php.ini, or create a new text file and name it php.ini.
You would put something like:
include_path = ".:/usr/lib/php:/usr/local/lib/php"
modified with the path you want to use.