Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #1954 > unrolled thread
| Started by | "Don_" <roc524@yahoo.com> |
|---|---|
| First post | 2011-05-31 09:45 -0400 |
| Last post | 2011-06-03 17:29 +0000 |
| Articles | 9 — 5 participants |
Back to article view | Back to comp.lang.php
PHP Extension Won't Install "Don_" <roc524@yahoo.com> - 2011-05-31 09:45 -0400
Re: PHP Extension Won't Install Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> - 2011-05-31 17:19 +0200
Re: PHP Extension Won't Install Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-31 11:58 -0400
Re: PHP Extension Won't Install "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-05-31 19:05 +0200
Re: PHP Extension Won't Install "Don_" <roc524@yahoo.com> - 2011-05-31 13:40 -0400
Re: PHP Extension Won't Install "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-06-01 09:27 +0200
Re: PHP Extension Won't Install "Don_" <roc524@yahoo.com> - 2011-06-01 13:47 -0400
ALternative? wkhtmltopdf. WAS: PHP Extension Won't Install Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> - 2011-06-02 10:58 +0200
Re: PHP Extension Won't Install Dr Vangel<470e8b8c35950@poster.grepler.com> - 2011-06-03 17:29 +0000
| From | "Don_" <roc524@yahoo.com> |
|---|---|
| Date | 2011-05-31 09:45 -0400 |
| Subject | PHP Extension Won't Install |
| Message-ID | <qf6Fp.38825$Vp.959@newsfe14.iad> |
I successfully installed PEAR & PECL 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" which 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?
[toc] | [next] | [standalone]
| From | Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> |
|---|---|
| Date | 2011-05-31 17:19 +0200 |
| Message-ID | <4de5070d$0$49176$e4fe514c@news.xs4all.nl> |
| In reply to | #1954 |
On 5/31/2011 3:45 PM, Don_ wrote: > I successfully installed PEAR& PECL 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" which 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? > > Hi Don, Posting one time is enough. ;-) Go here: http://pecl.php.net/package/fpdf Then click on the "Download latest". It seems it isn't there anymore... So that must be why your pecl tool cannot find it either. Maybe contact one of the maintainers? Hartmut Holzgraefe <hholzgra@php.net> Uwe Steinmann <uwe@steinmann.cx> Good luck. Erwin Moller -- "That which can be asserted without evidence, can be dismissed without evidence." -- Christopher Hitchens
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2011-05-31 11:58 -0400 |
| Message-ID | <is336e$pm6$1@dont-email.me> |
| In reply to | #1955 |
On 5/31/2011 11:19 AM, Erwin Moller wrote: > On 5/31/2011 3:45 PM, Don_ wrote: >> I successfully installed PEAR& PECL 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" which 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? >> >> > > Hi Don, > > Posting one time is enough. ;-) > > Go here: > http://pecl.php.net/package/fpdf > > Then click on the "Download latest". > It seems it isn't there anymore... > So that must be why your pecl tool cannot find it either. > > Maybe contact one of the maintainers? > > Hartmut Holzgraefe <hholzgra@php.net> > Uwe Steinmann <uwe@steinmann.cx> > > Good luck. > Erwin Moller > You beat me to it, Erwin. Looks like the package has been dropped. -- ================== Remove the "x" from my email address Jerry Stuckle JDS Computer Training Corp. jstucklex@attglobal.net ==================
[toc] | [prev] | [next] | [standalone]
| From | "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> |
|---|---|
| Date | 2011-05-31 19:05 +0200 |
| Message-ID | <is3744$m60$1@dont-email.me> |
| In reply to | #1954 |
El 31/05/2011 15:45, Don_ escribió/wrote: > I successfully installed PEAR& PECL on my Windows Apache/XAMPP server. I > am trying to install the PECL FPDF extension (for PDF Forms Data Format > functions). Do you mean FDF? FPDF is a pure PHP class to generate PDF files: http://fpdf.org/ The PHP manual page for FDF is: http://es.php.net/manual/en/book.fdf.php -- -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain -- Mi sitio sobre programación web: http://borrame.com -- Mi web de humor satinado: http://www.demogracia.com --
[toc] | [prev] | [next] | [standalone]
| From | "Don_" <roc524@yahoo.com> |
|---|---|
| Date | 2011-05-31 13:40 -0400 |
| Message-ID | <GH9Fp.12991$OB3.7267@newsfe03.iad> |
| In reply to | #1958 |
Thanks for your responses. I did mean FDF. Your second link, "http://es.php.net/manual/en/book.fdf.php" shows a listing for FDF functions that I need to use in my PHP script. The first responders to this post mentioned "http://pecl.php.net/package/fpdf" and found out that the "download latest" link is dead. I noticed this a few days ago and emailed hholzgra@php.net and uwe@steinmann.cx, but neither has responded. So my problem remains; I need to use the fdf functions such as fdf_create() and have not been able to install them. (Sorry I screwed up my initial posting and repeated it twice.) ""Álvaro G. Vicario"" <alvaro.NOSPAMTHANX@demogracia.com.invalid> wrote in message news:is3744$m60$1@dont-email.me... > El 31/05/2011 15:45, Don_ escribió/wrote: >> I successfully installed PEAR& PECL on my Windows Apache/XAMPP server. >> I >> am trying to install the PECL FPDF extension (for PDF Forms Data Format >> functions). > > Do you mean FDF? FPDF is a pure PHP class to generate PDF files: > > http://fpdf.org/ > > The PHP manual page for FDF is: > > http://es.php.net/manual/en/book.fdf.php > > > -- > -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain > -- Mi sitio sobre programación web: http://borrame.com > -- Mi web de humor satinado: http://www.demogracia.com > --
[toc] | [prev] | [next] | [standalone]
| From | "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> |
|---|---|
| Date | 2011-06-01 09:27 +0200 |
| Message-ID | <is4pld$l6d$1@dont-email.me> |
| In reply to | #1959 |
El 31/05/2011 19:40, Don_ escribió/wrote: > Thanks for your responses. I did mean FDF. Your second link, > "http://es.php.net/manual/en/book.fdf.php" shows a listing for FDF functions > that I need to use in my PHP script. > > The first responders to this post mentioned > "http://pecl.php.net/package/fpdf" and found out that the "download latest" > link is dead. I noticed this a few days ago and emailed hholzgra@php.net > and uwe@steinmann.cx, but neither has responded. > > So my problem remains; I need to use the fdf functions such as fdf_create() > and have not been able to install them. The manual says the package is abandoned and you have to compile it yourself from the archived source code: http://svn.php.net/viewvc/pecl/fdf/trunk/ -- -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain -- Mi sitio sobre programación web: http://borrame.com -- Mi web de humor satinado: http://www.demogracia.com --
[toc] | [prev] | [next] | [standalone]
| From | "Don_" <roc524@yahoo.com> |
|---|---|
| Date | 2011-06-01 13:47 -0400 |
| Message-ID | <WUuFp.2108$YH3.1762@newsfe04.iad> |
| In reply to | #1965 |
Thank you, Alvaro. Could you please point me to the instructions to compile it? ""Álvaro G. Vicario"" <alvaro.NOSPAMTHANX@demogracia.com.invalid> wrote in message news:is4pld$l6d$1@dont-email.me... > El 31/05/2011 19:40, Don_ escribió/wrote: >> Thanks for your responses. I did mean FDF. Your second link, >> "http://es.php.net/manual/en/book.fdf.php" shows a listing for FDF >> functions >> that I need to use in my PHP script. >> >> The first responders to this post mentioned >> "http://pecl.php.net/package/fpdf" and found out that the "download >> latest" >> link is dead. I noticed this a few days ago and emailed hholzgra@php.net >> and uwe@steinmann.cx, but neither has responded. >> >> So my problem remains; I need to use the fdf functions such as >> fdf_create() >> and have not been able to install them. > > The manual says the package is abandoned and you have to compile it > yourself from the archived source code: > > http://svn.php.net/viewvc/pecl/fdf/trunk/ > > > > -- > -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain > -- Mi sitio sobre programación web: http://borrame.com > -- Mi web de humor satinado: http://www.demogracia.com > --
[toc] | [prev] | [next] | [standalone]
| From | Erwin Moller <Since_humans_read_this_I_am_spammed_too_much@spamyourself.com> |
|---|---|
| Date | 2011-06-02 10:58 +0200 |
| Subject | ALternative? wkhtmltopdf. WAS: PHP Extension Won't Install |
| Message-ID | <4de75091$0$49045$e4fe514c@news.xs4all.nl> |
| In reply to | #1954 |
On 5/31/2011 3:45 PM, Don_ wrote: > I successfully installed PEAR& PECL 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" which 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? > > Hi Don, I don't know what it is you want to do with pdf, but I would like to advocate a package I have been working with lately. It is called wkhtmltopdf. http://code.google.com/p/wkhtmltopdf/ It focusses on generating PDF documents based on HTML. You DO need to install webkit libs on your server first. But it works like a charm. I stopped generating PDFs by hand, which was, well, nothing for me anyway. ;-) Now I generate an HTML page that looks EXCATLY how I want it to look, and then make a PDF of it. My current code looks like this: ========================================================= // Where to fetch it? $url = "http://www.example.com/yourscript.php?id=23; $fileName = "mypdf.pdf"; $targetName = "srv/hosting/whatever/www/temp_pdf/$fileName"; $cmd = "wkhtmltopdf -O Portrait -s A4 ".escapeshellarg($url); $cmd .= " ".escapeshellarg($targetName); // generate the pdf $res = exec($cmd); ========================================================= That way I can do what I am good at (HTML) and make PDFs. I have been trying many many other html -> pdf generators and all fail somehow, eg no css support, poor css support, poor table support, etc. But since wkhtmltopdf is based on webkit, it handles it all. wkhtmltopdf even runs javascript that generates/modifies DOM elements! Not sure if it is something for you, but it saved me a lot of troubles. And no, I didn't author the package or something. ;-) Regards, Erwin Moller -- "That which can be asserted without evidence, can be dismissed without evidence." -- Christopher Hitchens
[toc] | [prev] | [next] | [standalone]
| From | Dr Vangel<470e8b8c35950@poster.grepler.com> |
|---|---|
| Date | 2011-06-03 17:29 +0000 |
| Message-ID | <7S8Gp.2047$rc5.1520@news.usenetserver.com> |
| In reply to | #1954 |
>I successfully installed PEAR & PECL 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" which 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? I hope you eventually tried #pecl install fpdf ---------------------------- http://grepler.com groups
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web