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 post
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 post
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...