Results 1 to 6 of 6

Thread: PEAR Information?

  1. #1
    ckieffer is offline No longer a Newbie
    Join Date
    Jan 2005
    Location
    New Mexico
    Posts
    5

    Default PEAR Information?

    I'm quite interested in using PEAR for my PHP programming. Is there a list of currently installed PEAR packages somewhere? I thought I remembered Perl modules being listed from the cPanel, any chance of getting PEAR packages listed also?

    Specifically, I need HTML_Common and HTML_Quickform right now.

  2. #2
    Matt's Avatar
    Matt is online now GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,208

    Default

    You can place a php info file on your account using this code:

    Code:
    <?php echo phpinfo();?>
    Then call it from your browser to see the PHP config for your server. I suggest you remove this file when you are done or password protect it for security reasons.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

  3. #3
    ckieffer is offline No longer a Newbie
    Join Date
    Jan 2005
    Location
    New Mexico
    Posts
    5

    Default

    Thanks.

    PHP is configured --with-pear, but the phpinfo() function does not show installed PEAR packages. I posted my script and it appears that the HTML_Common and HTML_Quickform packages that my script uses are not installed.

  4. #4
    Matt's Avatar
    Matt is online now GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,208

    Default

    Try it now. I have installed the packages.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

  5. #5
    ckieffer is offline No longer a Newbie
    Join Date
    Jan 2005
    Location
    New Mexico
    Posts
    5

    Default

    I'm getting an include error. Can you check the current PHP include_path settings on ginger against where the packages were installed? I had this same problem on my local development machine and had to add an additional include path to get things to work.

    thanks!

  6. #6
    Matt's Avatar
    Matt is online now GlowHost Administrator
    Join Date
    Jan 2005
    Location
    Behind your monitor
    Posts
    6,208

    Default

    What is the error or pm me the url to the page producing it.
    Send your friends and site visitors to GlowHost and get $125 plus bonus!
    GlowHost Affiliate Program | Read our Blog | Follow us on X |

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14