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.
path to zend library located outside of site not recognized
Moderator: General Moderators
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: path to zend library located outside of site not recognized
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
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Re: path to zend library located outside of site not recognized
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.