Purpose of include_path
| From: | paulf at quillandmouse dot com | Date: | Mon, 20 Jun 2022 16:53:41 +0000 |
| Subject: | Purpose of include_path | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-328013@lists.php.net to get a copy of this message | ||
Folks:
I can find get_include_path(), set_include_path() and I see (commented
out) include_path settings in php.ini in both Arch and Debian. What I
don't see is the purpose of this config value. What does it point to?
I'm trying to run php scripts in my ~/paulf/public_html (set up through
Apache), and it won't run them, giving me an error of "Failed opening
required 'name-of-file' (include_path='.:') in Unknown on line on line
0". The script I'm attempting to run just contains "<?php phpinfo();
?>".
So any clues on the purpose and meaning of include_path and how it
might apply to this problem?
Paul
--
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster