Jump to content

Archived

This topic is now archived and is closed to further replies.

longtone

[SOLVED] How to set the include path to Zend

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

 

 

Share this post


Link to post
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.

 

 

Share this post


Link to post
Share on other sites

×
×
  • 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.