<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Some of my thoughts on this:<div><br></div><div>- php_pdf is not distributed with php5 (it used to be distributed with php4)</div><div>- since ms4w 2.2.7 contains php 5.2.5, you can download php_pdf.dll from: &nbsp;<a href="http://pecl4win.php.net/ext.php/php_pdf.dll">http://pecl4win.php.net/ext.php/php_pdf.dll</a>&nbsp;(use the 'php-5.2.1' version)&nbsp;</div><div>- however, Chameleon's printproduction code for using pdf is now outdated.....I posted the change required in chameleon's code 2 years ago here:&nbsp;<a href="http://bugzilla.maptools.org/show_bug.cgi?id=1480">http://bugzilla.maptools.org/show_bug.cgi?id=1480</a> (see comment#6)</div><div>- &nbsp;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&nbsp;</div><div><br></div><div><br></div><div><br></div><div>jeff</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><div><div><br></div><div><br></div><div><br></div><div>On 23-May-08, at 4:56 PM, Jessica Fendos wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="MARGIN: 4px 4px 1px; FONT: 10pt Tahoma"> <div>> Hi list:<br>>&nbsp; <br>> I am using WS4W 2.2.4 with chameleon-2.6.0rc1. When applying the <br>> PrintProduction Widget and try to save map as a pdf file in a mapping <br>> application, I got the following error message:&nbsp; <br>>&nbsp; <br>> <br>> *Warning*: dl() [function.dl <br>> &lt;<a href="http://mapt.deed.state.mn.us/chameleon/widgets/PrintProduction/function.dl">http://mapt.deed.state.mn.us/chameleon/widgets/PrintProduction/function.dl</a>>]: <br>> Unable to load dynamic library '/ms4w/Apache/php/ext/php_pdf.dll' - The <br>> specified module could not be found. in <br>> *D:\ms4w\apps\chameleon\htdocs\widgets\PrintProduction\preview.php* on <br>> line *242*<br>> <br>> *Fatal error*: Call to undefined function pdf_new() in <br>> *D:\ms4w\apps\chameleon\htdocs\widgets\PrintProduction\preview.php* on <br>> line *246*<br>> <br>> ** <br>> <br>> I discovered that this problem was reported by another individual at* <br>> *<a href="http://www.nabble.com/php_pdf.dll-td13609244.html#a13609244">http://www.nabble.com/php_pdf.dll-td13609244.html#a13609244</a> . the php_pdf.dll is not </div> <div>> included in the Ms4W package downloaded. I downloaded a php_pdf.dll&nbsp; at <br>> <a href="http://pecl4win.php.net/ext.php/php/ext/">http://pecl4win.php.net/ext.php/php/ext/</a> (php-5.0.5) and placed it in <br>> /ms4w/Apache/php/ext/ folder but I still got the same error. Could you <br>> advise how this can be fixed?<br>>Thanks!</div> <div>&nbsp;</div> <div>> Jessica<br></div> <div>&nbsp;</div> <div><br><br>>>> "Julien-Samuel Lacroix" &lt;<a href="mailto:jlacroix@mapgears.com">jlacroix@mapgears.com</a>> 5/23/2008 1:55 PM >>><br></div> <div style="COLOR: #000000">Hi,<br><br>Is php_pdf.dll included in MS4W by default? If not, you need to ask the <br>MS4W list to get it. I'm not sure if a package comming from other source <br>may work.<br><br>You may have more chances on the MS4W mailing-list.<br><br>Julien<br><br>Jessica Fendos wrote:<br>> Hi list:<br>>&nbsp; <br>> I am using WS4W 2.2.4 with chameleon-2.6.0rc1. When applying the <br>> PrintProduction Widget and try to save map as a pdf file in a mapping <br>> application, I got the following error message:&nbsp; <br>>&nbsp; <br>> <br>> *Warning*: dl() [function.dl <br>> &lt;<a href="http://mapt.deed.state.mn.us/chameleon/widgets/PrintProduction/function.dl">http://mapt.deed.state.mn.us/chameleon/widgets/PrintProduction/function.dl</a>>]: <br>> Unable to load dynamic library '/ms4w/Apache/php/ext/php_pdf.dll' - The <br>> specified module could not be found. in <br>> *D:\ms4w\apps\chameleon\htdocs\widgets\PrintProduction\preview.php* on <br>> line *242*<br>> <br>> *Fatal error*: Call to undefined function pdf_new() in <br>> *D:\ms4w\apps\chameleon\htdocs\widgets\PrintProduction\preview.php* on <br>> line *246*<br>> <br>> ** <br>> <br>> I discovered that this problem was reported by another individual at* <br>> *<a href="http://www.nabble.com/php_pdf.dll-td13609244.html#a13609244">http://www.nabble.com/php_pdf.dll-td13609244.html#a13609244</a> . I <br>> downloaded a php_pdf.dll&nbsp; at <br>> <a href="http://pecl4win.php.net/ext.php/php/ext/">http://pecl4win.php.net/ext.php/php/ext/</a> (php-5.0.5) and placed it in <br>> /ms4w/Apache/php/ext/ folder but I still got the same error. Could you <br>> advise how this can be fixed?<br>> <br>>&nbsp; <br>> <br>> Thanks!<br>> <br>>&nbsp; <br>> <br>> Jessica<br>> <br>> <br>> ------------------------------------------------------------------------<br>> <br>> _______________________________________________<br>> Chameleon mailing list<br>> <a href="mailto:Chameleon@lists.maptools.org">Chameleon@lists.maptools.org</a><br>> <a href="http://lists.maptools.org/mailman/listinfo/chameleon">http://lists.maptools.org/mailman/listinfo/chameleon</a><br><br>-- <br>Julien-Samuel Lacroix<br>Mapgears<br><a href="http://www.mapgears.com/">http://www.mapgears.com/</a><br></div></div><br></blockquote></div><br></div></body></html>