You are here: Re: newbe, extensions poroblem « All PHP « IT news, forums, messages
Re: newbe, extensions poroblem

Posted by pangea33 on 12/08/06 03:45

polilop wrote:
> THX for this advice as this is what i will need to use, but my problem is
> with all of the extensions. Whichever i uncomment i get the error?
>
> "pangea33" <pangea1013@gmail.com> wrote in message
> news:1165460088.132396.159820@80g2000cwy.googlegroups.com...
> > polilop wrote:
> >> I have installed php 4.4.2 and tried to activate extensions but when i
> >> edit the php.ini and uncomment for example php_pdf.dll
> >> i get :
> >> Unknown():
> >> Unable to load dynamic library 'C:\PHP\extensions\php_pdf.dll' - the
> >> specified procedure could not be found.
> >> i changed my php.ini extension_dir = C:\PHP\extensions which is the
> >> directory where the dll's are.
> >> Been searching through the web, and found some say you need to copy the
> >> dll-s from the
> >> php directory into the sys32, but did not work, allso after i changed the
> >> path to system32.
> >> I put the enviromen variable to c:\PHP where php is.
> >> all help apriciated, or any step by step guide?
> >
> > It's not you, this is a little bait and switchish. PHP supports
> > communicating with the PDF resource library, but it's no longer bundled
> > with PHP because it's now commercial. In addition to that you can't run
> > the older, free version of the PDF libraries on any version of PHP
> > after 4.0. There is a free dev version of the libraries, but it's
> > basically useless because it puts a big "developer version" watermark
> > across your document.
> >
> > http://us2.php.net/manual/en/ref.pdf.php
> > http://www.pdflib.com/products/pdflib-family/pdflib/
> >
> > This is a free version of some pdf libraries. I installed it on my
> > Windows/Apache/PHP5 box and it works just fine
> >
> > http://www.fpdf.org/
> >

I just checked the php.ini on my working Win/Apache box and mine is set
as a relative path. For example the application engine lives in
"C:\PHP" and there is a "ext" directory under that, where all of my
*.dll extension files live. My ini file is using relative pathing like
this:

extension_dir = "ext/"

See if that helps?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация