Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-27-2008, 03:23 PM
Junior Member
 
Join Date: Mar 2008
Posts: 1
Default Installing without access to Include Path

Hi,

I am looking into using the ZF for a project, however I don't have access to the PHP INCLUDE directory with my current host.

I am really happy with every other aspect of my host so was wondering if it is possible to use ZF without access to this directory?

Thanks all in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-27-2008, 03:28 PM
Senior Member
 
Join Date: Jan 2008
Location: chicago
Posts: 100
Default

Try modifying the 'include_path' php variable in your bootstrap file. I assume this is to add the library directory which has the Zend library in it?

Put this at the top of your bootstrap file (index.php) :

PHP Code:
// Add the library/ directory to the include path
set_include_path('.' PATH_SEPARATOR '../library/' PATH_SEPARATOR get_include_path()); 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 12:48 PM.