如何在Mac上安装PHP库?

I'm using Apache/SQL/PHP via MAMP on my Mac. I have the PHP library LIB_http.php. I tried to understand how to install it, but seem unable to figure this out. Google search was useless, so was the PHP manual at php.net. Can you help?

It's a Class Library which needs to be included in your project. You can download their example scripts to learn how to use it.

You should include it your project like include_once('/path/to/lib_http.php') or require_once('/path/to/lib_http.php')

You can refer Official Docs for include_once and require_once;