Re: newbe, extensions poroblem



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@xxxxxxxxx> wrote in message
news:1165460088.132396.159820@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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?

.



Relevant Pages

  • Re: newbe, extensions poroblem
    ... with all of the extensions. ... Whichever i uncomment i get the error? ... I put the enviromen variable to c:\PHP where php is. ... free version of the PDF libraries on any version of PHP ...
    (alt.php)
  • Re: newbe, extensions poroblem
    ... Whichever i uncomment i get the error? ... I put the enviromen variable to c:\PHP where php is. ... free version of the PDF libraries on any version of PHP ... This is a free version of some pdf libraries. ...
    (alt.php)
  • Re: error: syntax error before "_X_SENTINEL"
    ... freefont-ttf-20060126 Free UCS Outline Fonts ... libmcrypt-2.5.7_2 Multi-cipher cryptographic library (used in PHP) ... php4-bcmath-4.4.2_2 The bcmath shared extension for php ... pkg-config-0.20_2 A utility to retrieve information about installed libraries ...
    (freebsd-stable)
  • Fwd: php extensions compile error
    ... Subject: php extensions compile error ... checking for C compiler default output file name... ... checking for PHP extension directory... ... libgnome-2.10.0_1 Libraries for GNOME, a GNU desktop environment ...
    (freebsd-hackers)
  • Fwd: php extensions compile error
    ... Subject: php extensions compile error ... checking for C compiler default output file name... ... checking for PHP extension directory... ... libgnome-2.10.0_1 Libraries for GNOME, a GNU desktop environment ...
    (freebsd-questions)