Reply to topic
PHP set_include_path and Zend Framework - Linux shared host
chazilla


Joined: 15 Jan 2008
Posts: 3
Reply with quote
I'm trying to use parts of the Zend Framework with my Linux shared hosting account. I want to use the Zend filters.

Can't quite get the set_include_path to work.

Here's the latest attempt:

set_include_path(get_include_path().PATH_SEPARATOR.'./library/Zend/');

I've got the library directory set up at the same level as the htdocs directory.

Any suggestions?
jceresini


Joined: 12 Oct 2006
Posts: 3
Reply with quote
After you run that command, run an

echo get_include_path();

does that output the information you expect?

you may want to also try putting the full path to the include path. ie:

set_include_path(get_include_path().PATH_SEPARATOR.'/vservers/[username]/htdocs/library/Zend/');
PHP set_include_path and Zend Framework - Linux shared host
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic