Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I'm trying to install pear on my centos.

I've used "*yum install php-pear**" to install pear and it seemed to install with success. No errors. I restart my server.

However when I check out phpinfo(). I see that my php is still built using "--without-pear".

Isn't yum supposed to rebuild my php with pear? What would be possibly going wrong?

Thanks!

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
979 views
Welcome To Ask or Share your Answers For Others

1 Answer

Try something like

$ pear list

and

$ pear info PEAR

- now if you get a listing of installed packages in the first case and information on what version of pear is installed in the second you're ready to use it.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...