Problem Loading Extension iconv
Posted by: WorkingGirl (---.lf.br.cox.net)
Date: October 23, 2023 01:40AM

1) I am on a Windows AMD64 system
2) My current install version is WAMPSERVER 3.30/PHP 8.0.26/Apache 2.4.54.2
3) For Windows installation, PHP does not install the php_iconv.dll binary
4) I did a 32 bit C compile of the .SO files, which I found in the Apache bin folder called iconv
5) I copied the output file php_iconv.dll to the folder C:\wamp64\bin\php\php8.0.26\ext
6) I did a clean WAMPSERVER restart
7) The resulting php.ini error file indicates the following message:

PHP Warning: PHP Startup: Can't load module 'c:\wamp64\bin\php\php8.0.26\ext\php_iconv.dll' as it's linked with 2.30, but the core is linked with 14.29 in Unknown on line 0

What does this mean and how can I fix it? Any help would be appreciated.



Edited 1 time(s). Last edit at 10/23/2023 04:06AM by WorkingGirl.

Options: ReplyQuote
Re: Problem Loading Extension iconv
Posted by: Otomatic (Moderator)
Date: October 23, 2023 08:40AM

iconv is an integral part of PHP, so there's no need to install any libraries.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Problem Loading Extension iconv
Posted by: WorkingGirl (---.lf.br.cox.net)
Date: October 23, 2023 06:30PM

Thank you for your quick reply. Based on your response, I also assume the dependency extension php_gettextlib is also part of the core? Is this correct?

Options: ReplyQuote
Re: Problem Loading Extension iconv
Posted by: Otomatic (Moderator)
Date: October 23, 2023 06:56PM

> extension php_gettextlib is also part of the core?
Just look at the PHP extensions:
Left-Click -> PHP -> PHP extensions
to see that gettext is one of them and is loaded by default.

As for iconv, here you need to see the PHP documentation on iconv and, among other things, the iconv functions supported:
Ref. iconv

RTFM, always RTFM.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.