Quote:
quote:Originally posted by percy
...although the ISP allows .htaccess (and gives, forexample, instructions on how to use it to interpret php files using php3 rahter than php4), they cannot tell me the proper syntax for the directive.
Can anyone point me to some documentation please ?:(
|
You're crossing boundaries there... you need to add PHP configuration directives to an .htaccess file, which is an apache configuration file. For this to work, PHP _must_ be installed as an apache module, and the main apache .conf file (httpd.conf) must allow .htaccess files to override the existing PHP configuration, whether that configuration exists elsewhere in httpd.conf or in php.ini (AllowOverride Options).
That said, all you need is to add your PHP configuration items in your htaccess file just as you would in httpd.conf.
Look at the Configuration section of the PHP manual online:
http://www.php.net/configuration.changes
Configuration values are specified as "phpvalue". Configuration flags (on/off) are specified as "phpflag".
So the configuration value you want to change is "inlcude_path", right?
Code:
phpvalue include_path my/include/path
Couldn't be easier, no?
Take care,
Nik
http://www.bigaction.org/