Jump to content

[SOLVED] How to set the include path to Zend


longtone

Recommended Posts

I am trying to get started with the Zend Framework, but I am stumped by my total ignorance of anything to do with php.ini

I am on a shared server, but apparently I can rewrite the local php.ini file

But I don't know what that is or where to find it, or do I have to create it?

And apparently it can be done through htaccess

 

I have tried this line in the file that calls up Zend:

 

set_include_path('/home/djtutor/library');

 

where /home/djtutor/ is the root, and is where the Zend Library has been uploaded to

 

 

Link to comment
Share on other sites

 

I've tried:

 

if(set_include_path('/home/djtutor/') === false) {

die('Include path failed');

}

 

where the Zend folder (named: library) is at /home/djtutor/

 

Doesn't work. Doesn't give the error message either.

 

I don't have permission to use .htaccess to set include paths.

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.