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?

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.