Place pear on mac osx lion xampp

From my phpinfo, I can see that pear is configured in / Applications / XAMPP / xamppfiles / lib / php / pear. But when I print the pear command to the terminal from / Applications / xampp / xamppfiles / lib / php / pear location, it returns an error: "Could not open input file: /usr/lib/php/pearcmd.php"

Why is it building / usr / lib ...?

I can't figure out why this is happening.


source to share

1 answer

I just did this:

$ cd /usr/lib/php
$ sudo php install-pear-nozlib.phar




All Articles