Author Topic: [SOLVED] How to set the include path to Zend  (Read 4948 times)

0 Members and 1 Guest are viewing this topic.

Offline longtoneTopic starter

  • Enthusiast
  • Posts: 75
    • View Profile
[SOLVED] How to set the include path to Zend
« on: April 03, 2008, 09:10:31 PM »
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:

Code: [Select]
set_include_path('/home/djtutor/library');
where /home/djtutor/ is the root, and is where the Zend Library has been uploaded to


Offline stuffradio

  • Enthusiast
  • Posts: 252
    • View Profile
Re: How to set the include path to Zend
« Reply #1 on: April 03, 2008, 09:15:57 PM »

Offline longtoneTopic starter

  • Enthusiast
  • Posts: 75
    • View Profile
Re: How to set the include path to Zend
« Reply #2 on: April 05, 2008, 05:44:56 PM »
I think this will work for you :)

http://www.sitepoint.com/article/mash-up-music-zend-framework

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.