Greetings,
I have a few virtual hosts on my Mandrake 9.1 box (apache 2.0.47, php 4.3.1). I was wondering about a nice way to set include_path for each vhost. I came up with setting it via
(doing an ini_set() there) but was wondering about other possible solutions. Is there a 'right' way to do this, setting a php config variable on a per-host basis? I want to have each vhost have their own <whatever>include/ directory outside of their web doc tree.
Thanks for any suggestions.
----
JBR
I have a few virtual hosts on my Mandrake 9.1 box (apache 2.0.47, php 4.3.1). I was wondering about a nice way to set include_path for each vhost. I came up with setting it via
Code:
require_once($_SERVER['Document_Root'] . "/../config.php");
Thanks for any suggestions.
----
JBR