Page 1 of 1

path to zend library located outside of site not recognized

Posted: Sun Jan 10, 2010 10:33 am
by rhecker
I am setting up ZendFrames for the first time. I have put the library in htdocs/library so it can be shared between multiple sites that use the zend library. On my Windows local system, this works fine, but on my shared hosting account, the library isn't being found.

In index.php I have set the following:
realpath( '../../library'),

and in application.ini, under [production] the following:
includePaths.library = "../../..library/"

The website is at htdocs/zend_beg/

Can anyone point out what I am doing wrong to make the linux server recognise the path?

Thanks for any thoughts.

Re: path to zend library located outside of site not recognized

Posted: Sun Jan 10, 2010 11:45 am
by AbraCadaver
If the library is htdocs/library and the website is htdocs/zend_beg then the path from the web site to the library is ../library

Re: path to zend library located outside of site not recognized

Posted: Sun Jan 10, 2010 12:48 pm
by rhecker
Correct, but the index.php and application.ini files are one and two levels deep into the site. Also, the path relationships are the same on my windows machine, where it works.