[PHP] PHP include_path

2002-06-27 Thread Tim Nields

I am running php4.2.1.  I tried to use a simple include() coommand, but the
path that it defaults to is /usr/local/lib/php.  Can anyone tell me how to
change this?

Thanks

Tim



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP include_path

2002-06-27 Thread Matt Williams

On Thursday 27 June 2002 17:13, you wrote:

 I am running php4.2.1.  I tried to use a simple include() coommand, but the
 path that it defaults to is /usr/local/lib/php.  Can anyone tell me how to
 change this?

 Thanks

You can change this either in your php.ini or add it to a .htaccess as;

php_value include_path .:/path/to/your/dir

if your system is setup for it.

matt

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] PHP include_path

2002-06-27 Thread Jason Wong

On Thursday 27 June 2002 21:31, Matt Williams wrote:
 On Thursday 27 June 2002 17:13, you wrote:
  I am running php4.2.1.  I tried to use a simple include() coommand, but
  the path that it defaults to is /usr/local/lib/php.  Can anyone tell me
  how to change this?
 
  Thanks

 You can change this either in your php.ini or add it to a .htaccess as;

 php_value include_path .:/path/to/your/dir

 if your system is setup for it.

Or ini_set().

-- 
Jason Wong - Gremlins Associates - www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *

/*
There is brutality and there is honesty.  There is no such thing as brutal
honesty.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php