RE: [Phplib-users] Confused with the phplib installation
Brought to you by:
nhruby,
richardarcher
From: Brian P. <bp...@ct...> - 2002-10-24 21:04:04
|
Technically you could use either, but for security reasons it is recommended that you put it outside your document root (which means /var/www/ would be a better choice). The important part is that you either have to add the directory (for example /var/www/phplib) to your PHP Include directory (in your php.ini file) or you have to manually include your /var/www/phplib/prepend.php3 file in each page of your project. I prefer to include it manually so that I don't have the overhead of PHPLIb being included in non-phplib related pages. This works well for me since all my projects include a config file anyway (which in turn includes PHPLib). -----Original Message----- From: Docume [mailto:do...@ly...] Sent: Thursday, October 24, 2002 3:54 PM To: php...@li... Subject: [Phplib-users] Confused with the phplib installation I can't understand where to install phplib the correct directory is /var/www or /var/www/html? I am using RH 7.3 and the DocumentRoot for apache is /var/www/html What path should I use? ------------------------------------------------------- This sf.net email is sponsored by: Influence the future of Java(TM) technology. Join the Java Community Process(SM) (JCP(SM)) program now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0003en _______________________________________________ Phplib-users mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phplib-users |