megadutch Posted April 17, 2012 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. Link to comment Share on other sites More sharing options...
Larry Posted April 18, 2012 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. Link to comment Share on other sites More sharing options...
michiel Posted March 5, 2013 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? Link to comment Share on other sites More sharing options...
Larry Posted March 6, 2013 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. Link to comment Share on other sites More sharing options...
Recommended Posts