Re: [PHP] change PHP include directory

2003-09-14 Thread Tom Rogers
Hi, Sunday, September 14, 2003, 3:25:57 PM, you wrote: TT Hi, TT Normally to change a sites include directory for PHP I'd use a .htaccess TT file and the following command: TT php_value include_path .:/path/to/web/ TT Again normally, I would get the path to the site by doing a simple TT

[PHP] change PHP include directory

2003-09-13 Thread Tim Thorburn
Hi, Normally to change a sites include directory for PHP I'd use a .htaccess file and the following command: php_value include_path .:/path/to/web/ Again normally, I would get the path to the site by doing a simple phpinfo(); command and find the _ENV[DOCUMENT_ROOT] line near the end of the

Re: [PHP] change PHP include directory

2003-09-13 Thread John W. Holmes
Tim Thorburn wrote: Normally to change a sites include directory for PHP I'd use a .htaccess file and the following command: php_value include_path .:/path/to/web/ Again normally, I would get the path to the site by doing a simple phpinfo(); command and find the _ENV[DOCUMENT_ROOT] line near

[PHP] include directory?

2003-01-06 Thread Rad Craig
Where should this point to? Mine points to c:\php4\pear and I dont' have a pear directory under \php4. Rad Craig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] include directory?

2003-01-06 Thread Stephan Seidt
That depends on where you want to point it at :) In pear we always use something like : require_once 'Package/File.php' It's very usable to add the pear directory to php's include path, but only if you have it ;) Otherwhise, just don't think about that setting. Rad Craig wrote: Where should this

[PHP] PHP Include directory

2002-05-27 Thread Tim Thorburn
Hi, I'm trying to setup an include directory for my site using .htaccess but I'm having some difficulties. The command I'm typing is as follows: php_value include_dir .:/path/to/my/site/includes When I try this, I get an error 500 with Apache. Have I typed something wrong? Here's my setup: