Jump to content
Larry Ullman's Book Forums

Recommended Posts



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

  • 10 months later...


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/php
My 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);

Do I have to upload the quickform files aswell? And where would I put them?

Link to comment
Share on other sites


  • Create New...