[ms4w-users] Fwd: php_pdf.dll Problem When Using Chameleon
PrintProduction Widget
Jeff McKenna
jeffmckenna at gmail.com
Sat May 24 10:39:08 EDT 2008
Some of my thoughts on this:
- php_pdf is not distributed with php5 (it used to be distributed with
php4)
- since ms4w 2.2.7 contains php 5.2.5, you can download php_pdf.dll
from: http://pecl4win.php.net/ext.php/php_pdf.dll (use the
'php-5.2.1' version)
- however, Chameleon's printproduction code for using pdf is now
outdated.....I posted the change required in chameleon's code 2 years
ago here: http://bugzilla.maptools.org/show_bug.cgi?id=1480 (see
comment#6)
- jessica please place your test results in that chameleon
bug...maybe you will spur the chameleon developers to include this fix
in the next release
jeff
On 23-May-08, at 4:56 PM, Jessica Fendos wrote:
> > Hi list:
> >
> > I am using WS4W 2.2.4 with chameleon-2.6.0rc1. When applying the
> > PrintProduction Widget and try to save map as a pdf file in a
> mapping
> > application, I got the following error message:
> >
> >
> > *Warning*: dl() [function.dl
> > <http://mapt.deed.state.mn.us/chameleon/widgets/PrintProduction/function.dl
> >]:
> > Unable to load dynamic library '/ms4w/Apache/php/ext/php_pdf.dll'
> - The
> > specified module could not be found. in
> > *D:\ms4w\apps\chameleon\htdocs\widgets\PrintProduction
> \preview.php* on
> > line *242*
> >
> > *Fatal error*: Call to undefined function pdf_new() in
> > *D:\ms4w\apps\chameleon\htdocs\widgets\PrintProduction
> \preview.php* on
> > line *246*
> >
> > **
> >
> > I discovered that this problem was reported by another individual
> at*
> > *http://www.nabble.com/php_pdf.dll-td13609244.html#a13609244 . the
> php_pdf.dll is not
> > included in the Ms4W package downloaded. I downloaded a
> php_pdf.dll at
> > http://pecl4win.php.net/ext.php/php/ext/ (php-5.0.5) and placed it
> in
> > /ms4w/Apache/php/ext/ folder but I still got the same error. Could
> you
> > advise how this can be fixed?
> >Thanks!
>
> > Jessica
>
>
>
> >>> "Julien-Samuel Lacroix" <jlacroix at mapgears.com> 5/23/2008 1:55
> PM >>>
> Hi,
>
> Is php_pdf.dll included in MS4W by default? If not, you need to ask
> the
> MS4W list to get it. I'm not sure if a package comming from other
> source
> may work.
>
> You may have more chances on the MS4W mailing-list.
>
> Julien
>
> Jessica Fendos wrote:
> > Hi list:
> >
> > I am using WS4W 2.2.4 with chameleon-2.6.0rc1. When applying the
> > PrintProduction Widget and try to save map as a pdf file in a
> mapping
> > application, I got the following error message:
> >
> >
> > *Warning*: dl() [function.dl
> > <http://mapt.deed.state.mn.us/chameleon/widgets/PrintProduction/function.dl
> >]:
> > Unable to load dynamic library '/ms4w/Apache/php/ext/php_pdf.dll'
> - The
> > specified module could not be found. in
> > *D:\ms4w\apps\chameleon\htdocs\widgets\PrintProduction
> \preview.php* on
> > line *242*
> >
> > *Fatal error*: Call to undefined function pdf_new() in
> > *D:\ms4w\apps\chameleon\htdocs\widgets\PrintProduction
> \preview.php* on
> > line *246*
> >
> > **
> >
> > I discovered that this problem was reported by another individual
> at*
> > *http://www.nabble.com/php_pdf.dll-td13609244.html#a13609244 . I
> > downloaded a php_pdf.dll at
> > http://pecl4win.php.net/ext.php/php/ext/ (php-5.0.5) and placed it
> in
> > /ms4w/Apache/php/ext/ folder but I still got the same error. Could
> you
> > advise how this can be fixed?
> >
> >
> >
> > Thanks!
> >
> >
> >
> > Jessica
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
>
> --
> Julien-Samuel Lacroix
> Mapgears
> http://www.mapgears.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ms4w-users/attachments/20080524/9b0cdb3f/attachment.html
More information about the ms4w-users
mailing list