Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5990707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:16:57+00:00 2026-05-22T23:16:57+00:00

I have snow leopard which apparently has php with pear pre-installed. I enabled php

  • 0

I have snow leopard which apparently has php with pear pre-installed. I enabled php but could not find any signs of PEAR. So I have installed it and now phpinfo() shows its installation

include_path .:/usr/lib/php/share/pear

Still when I type in any pear command

$ sudo pear

I get an error: sudo: pear: command not found

What am I missing?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T23:16:58+00:00Added an answer on May 22, 2026 at 11:16 pm

    Many ways to skin this cat, but I would type this if you have locate installed (which you probably do):

    $ locate bin/pear
    

    That should list one or more things, one of which will look like the path to pear. Let’s say it says something like /usr/local/bin/pear. Then your next command is:

    $ sudo /usr/local/bin/pear
    

    Two caveats come to mind:

    1. It’s possible that locate will list multiple executable pear files. If that’s the case, it may be important to pick the right one based on which PHP you’re using.
    2. You may want to add the directory where pear is located to your PATH environment variable.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Mac with Leopard installed (not Snow Leopard). I'm trying to start
I'm writing a Mac OS X application on Snow Leopard. I have a step
Have you ever seen any of there error messages? -- SQL Server 2000 Could
Have just started using Visual Studio Professional's built-in unit testing features, which as I
Background Core Data app on Snow Leopard 10.6.4 with GC I've got an NSOutlineView
Hi I just recently downloaded the most recent snow leopard update. Then I tried
Here is the setup: I have the Applications folder right in the dock, which
I've been trying to get Ruby on Rails working on my Snow Leopard 64-bit
I am using Zend Studio 5.5 on Mac OS X Snow Leopard on a
I'm running Clojure 1.2 on both my Snow Leopard OS X machine and my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.