Jump to content

PECL command from terminal won't work to install a PECL Extension


Recommended Posts

I successfully installed PEAR on my Windows Apache/XAMPP server.  I am trying to install the PECL FPDF extension (for PDF Forms Data Format functions).

 

At my command prompt window, I entered: "pecl list-all" and saw an entry named "pecl/fpdf" wihch is "PDF Form Data Format functions". So far so good.

 

At my command prompt window, I unsuccessfully tried to install this extension using the following 3 commands.

 

1. pecl install pecl/fpdf

Above resulted in "No release available for package 'pecl.php.net/fpdf'  Install failed"

 

2. pecl install www.php.net/fpdf

Above resulted in "Attempting to discover channel www.php.net ... invalid package name... install failed.

 

3. pecl install pecl.php.net/package/fpdf

Above resulted in:  "Attempting to discover channel pecl.php.net/package... 

                                downloading channel.xml... ... done: 3877bytes.

                                unknown channel ... invalid package name .... install failed."

 

Can anyone tell me what I am doing wrong in my attempt to use the PECL command to install the fpdf extension?

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.