[thelist] php lib path on evolt

Philippe Jadin philippe.jadin at 123piano.com
Sun May 6 07:45:06 CDT 2001


> There are 2 folders in your include path:
>
> 1) . = current folder, wherever the script is located.
> 2) /usr/local/lib/php = ignore this path, 'cause you cant get there.
>
> You will use number 1. If you put both files in the same folder, you
should be able to include one from the other, or use relative paths.

If you can use .htaccess files (is it possible on evolt memeber area?),
create one with this in it :

php_value include_path ".:/home/yourusername/yourneededphpfolder"

This will override include paths in php for the current folder (where
.htaccess file is placed) and above.

Philippe





More information about the thelist mailing list