include path on shared host

SoWat

Loyal Freddie
Joined
Dec 22, 2003
Messages
305
I have a shared host that doesn't allow me SSH or telnet.

I've installed a php script that depends on the PEAR library.

How do I set the include path for my PEAR installation location? Can it be done using .htaccess, and if so how does one do that?

Cheers
 

SoWat

Loyal Freddie
Joined
Dec 22, 2003
Messages
305
After much searching, the solution is pretty simple. Just put the following line in the .htaccess file:

php_value "include_path" ".:/home/user/public_html/PEAR"

(obviously using the correct path to the PEAR directory).
 

Users who are viewing this thread

Top Bottom