Re: [phplib] use of PHPLIB on standard linux account From: toby cabot (toby.cabot <email protected>)
Date: 08/04/00

> I have a standard linux account (SSH/telnet/MySQL acct), the machine has
> Apache, MySQL, PHP4.bleed.edge.
> Do **I** put PHPLIB on my account's location /www/home/gearond/phplib ?
> Or *where* does the admin guy put it?
> My web page root is /www/home/gearond/public_html/index.htm(php)

PHPLIB files are included in your php sources so you can put them anywhere
that the php interpreter can find them. Typically you'd put them in a
subdirectory of your project (whatever that is) and then tell the apache
server to *not* serve that subdirectory, using .htaccess. I think this is
pretty well covered in the phplib docs at http://phplib.netuse.de/.

For example, if you wrote a set of php scripts and called them phpfoo you
might have a directory ~/gearond/public_html/phpfoo and then you'd put the
phplib files in ~/gearond/public_html/phpfoo/include.

If you want to get fancy you can have the site sysadmin put phplib in some
central location and then you can keep only the files that you change in
your account, but let's get the basic configuration working first.

Toby

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>