megadutch 0 Posted April 17, 2012 Report Share Posted April 17, 2012 Larry, In Chapter 4 of PHP 5 Advanced you asked us to install PEAR without going into specific detail of how to do it. My host has a plethora of options for installing PEAR and I don't know which to choose. Reading pear.php.net is a litte frustrating, as it seems to digress quite a bit. I was wondering if you may lend a little guidance. Thank you for your time. Quote Link to post Share on other sites
Larry 428 Posted April 18, 2012 Report Share Posted April 18, 2012 Sure thing. Really depends upon the operating system in use, however. But if your host has options that will install PEAR, it shouldn't really matter HOW PEAR is installed so long as it is. Quote Link to post Share on other sites
michiel 0 Posted March 5, 2013 Report Share Posted March 5, 2013 Hi, I installed pear on my computer and built a site using html_QuickForm2. All very nice. Then I upload the site to my shared webhost and the pages that have the quickform in it are not showing. Pear is installed (I can see this in the php info file.) The path would be: .:/usr/share/pear:/usr/share/phpMy code now is like this (but still no show ;-( $path = '.:/usr/share/pear:/usr/share/php'; set_include_path(get_include_path() . PATH_SEPARATOR . $path); require('HTML/QuickForm2.php');Do I have to upload the quickform files aswell? And where would I put them? Quote Link to post Share on other sites
Larry 428 Posted March 6, 2013 Report Share Posted March 6, 2013 QuickForm2 needs to be installed, yes. I would ask your host to install that component, since they've already installed PEAR. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.