Semsem 0 Report post Posted January 31, 2010 Would the $1.95 per month bit be able to have Zend Framwork installed on it? And if so, how would one do that? Share this post Link to post Share on other sites
rvalkass 5 Report post Posted January 31, 2010 Would the $1.95 per month bit be able to have Zend Framwork installed on it? And if so, how would one do that?Yes, you can install Zend Framework on the $1.95 hosting (I have it running here). Installing it is as simple as following the instructions from Zend - upload the framework and point your website's configuration to the Zend installation so it knows where to look for the functions. Share this post Link to post Share on other sites
Semsem 0 Report post Posted February 11, 2010 Yes, you can install Zend Framework on the $1.95 hosting (I have it running here). Installing it is as simple as following the instructions from Zend - upload the framework and point your website's configuration to the Zend installation so it knows where to look for the functions.Well, I feel stupid...how do I point the websites configuration to the Zend installation? Share this post Link to post Share on other sites
rvalkass 5 Report post Posted February 11, 2010 The Zend Framework documentation contains helpful tips and suggestions, but it all depends on exactly what directory structure you're using and how you're using the framework. You should just make sure that the path to the Zend libraries is included in the Zend Framework's list of paths to search. For example the recommended location for the Zend Framework to be uploaded is ~/php/Zend. Then, in your index.php file, include that path in your include paths to search. For example, one of my sites uses the following: Â set_include_path('library' . PATH_SEPARATOR . '/home/<username>/php' . PATH_SEPARATOR . 'application/models' . PATH_SEPARATOR . get_include_path()); Obviously replacing <username> with the username for your hosting account. Share this post Link to post Share on other sites
Semsem 0 Report post Posted February 12, 2010 What I start out with... set_include_path('library' . PATH_SEPARATOR . '/home/semsemx/php/'. PATH_SEPARATOR . 'application/models' . PATH_SEPARATOR . get_include_path());require_once 'Zend/Rest/Client.php';And, this is what I get: Warning: require_once(Zend/Rest/Client.php) [function.require-once]: failed to open stream: No such file or directory in /home/semsemx/public_html/index.php on line 4 Â Fatal error: require_once() [function.require]: Failed opening required 'Zend/Rest/Client.php' (include_path='library:/home/semsemx/php/:application/models:.:/usr/lib/http://forums.xisto.com/no_longer_exists/;) in /home/semsemx/public_html/index.php on line 4 Â (http://forums.xisto.com/no_longer_exists/) Any thoughts as to what I did wrong? Share this post Link to post Share on other sites
rvalkass 5 Report post Posted February 12, 2010 Seems like you haven't actually uploaded the Zend Framework into the correct place. Make sure it's there and you have the correct permissions to read it. Also, it is often better to put require 'Zend/Loader.php'; instead, which will load files as and when it needs them. Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted February 12, 2010 Topic split from another thread.No hijacking threads, please and thanks. Share this post Link to post Share on other sites
Semsem 0 Report post Posted February 14, 2010 I've tried putting ZF in both the public HTML and the PHP folders...editing the code and whatnot...and I can't get anything.Not sure what's wrong with it... Share this post Link to post Share on other sites