I don't understand how to install PECL extension on XAMPP via command line. I'm a Windows 7 user. I often see 'sudo' in the installation instruction. But, actually when I type the command, it. PECL is a repository for PHP Extensions, providing a directory of all known extensions and hosting facilities for downloading and development of PHP extensions. READ ME FIRST This article is provided as a courtesy. Installing, configuring, and troubleshooting third-party applications or code is.
The following instructions install PEAR and PECL on Mac OS X under /usr/local/. PECL is bundled with PEAR. So this is as simple as installing PEAR on Mac OS X.
PEAR is PHP's Package Repository and makes it easy to download and install PHP tools like PHPUnit and XDebug. I specifically recommend these two for every PHP developer.
Download PEAR
Configure and Install PEAR
You should now be at a prompt to configure PEAR.
Type 1 and press return.
Enter:
Type 4 and press return.
Enter:
Press return
How To Install Pecl
Verify PEAR
You should be able to type:
Install Pecl On Debian
Eventually, if you use any extensions or applications from PEAR, you may need to update PHP's include path.
Install Pecl On Mac
Find this interesting? Let's continue the conversation on Twitter.