php-windows Digest 25 Jun 2004 23:14:26 -0000 Issue 2298

Topics (messages 24068 through 24071):

php_gettext and php_iconv extensions
        24068 by: Daniel Blake
        24070 by: Brent
        24071 by: Daniel Blake

Re: User Online
        24069 by: Trystano.aol.com

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Windows XP Pro
PHP 4.3.4
c:\php
c:\windows\php.ini
extension_dir = "c:\php"
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_iconv.dll
extension=php_pdf.dll

All the other extensions are remarked out.

I have tried with php_gettext.dll and php_iconv.dll in:
c:\php
c:\Windows\system

How do you get these to work?  I'm getting the error about not being able to
load these modules because they can't be found.

Daniel Blake

--- End Message ---
--- Begin Message ---
G'day Daniel,
I have never tried the extensions you write of below but I did have similar
problems
when I was trying to load the IMAP extension on Win XP Pro and PHP 4.3.4.
I upgraded to PHP 4.3.6 and havent had any problems since mate.
Hope it helps.
Brent.

"Daniel Blake" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Windows XP Pro
> PHP 4.3.4
> c:\php
> c:\windows\php.ini
> extension_dir = "c:\php"
> extension=php_gd2.dll
> extension=php_gettext.dll
> extension=php_iconv.dll
> extension=php_pdf.dll
>
> All the other extensions are remarked out.
>
> I have tried with php_gettext.dll and php_iconv.dll in:
> c:\php
> c:\Windows\system
>
> How do you get these to work?  I'm getting the error about not being able
to
> load these modules because they can't be found.
>
> Daniel Blake

--- End Message ---
--- Begin Message ---
Ok, it took awhile but I finally got it working.  Here are the instructions so
everyone can get it working easier.  There are two DLL's that need to be in the
Windows\System32 directory and two that need to be in your extension_dir with
the PHP 4.3.4 package.  I don't know about newer versions of PHP, Brent's post
suggests the PHP people made it work out of the box in version 4.3.6.

The php.ini file is correct with just unremarking
extension=php_gettext.dll
extension=php_iconv.dll

Put these DLLs in the Windows\System32 directory.
libintl-1.dll (yes they've renamed the DLL)
iconv.dll

php_gettext.dll in diferent versions
PHP <= 4.2.0 requires gnu_gettext.dll (bundled)
PHP >= 4.2.3 requires libintl-1.dll, iconv.dll (bundled)

Put these two files in your extension_dir directory.
php_gettext.dll
php_iconv.dll

Restart your computer and that should get it working.  It's working for me now.

Daniel Blake



"Daniel Blake" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Windows XP Pro
PHP 4.3.4
c:\php
c:\windows\php.ini
extension_dir = "c:\php"
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_iconv.dll
extension=php_pdf.dll

All the other extensions are remarked out.

I have tried with php_gettext.dll and php_iconv.dll in:
c:\php
c:\Windows\system

How do you get these to work?  I'm getting the error about not being able to
load these modules because they can't be found.

Daniel Blake

--- End Message ---
--- Begin Message ---
What exactly is your problem?
 
Cheers
 
Tryst

--- End Message ---

Reply via email to