[thelist] php lib path on evolt

Daniel J. Cody djc at starkmedia.com
Mon May 7 10:08:49 CDT 2001

Philippe Jadin wrote:
> > 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.

+1 the /usr/local/lib/php is for system libraries only, and not
accessable to regular users..
> If you can use .htaccess files (is it possible on evolt memeber area?),
> create one with this in it :


Moniruvwe Orife wrote:

> I know that files that are referenced in the php include() function need to
> be in .:/usr/local/lib/php according to the info in phpinfo(), so what is
> the actual path here?
> this is how i understand it:
> user -> moni
> local -> public_html
> lib -> dir called lib
> php -> another dir called php (where my includes reside)

actually, the /usr/local/lib/php is a directory on the server, and
really has nothing to do with your directory or username :)

Shout if you have any more questions..


More information about the thelist mailing list