php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24393 Can't find iconv.dll
Submitted: 2003-06-29 19:33 UTC Modified: 2003-06-29 20:07 UTC
From: zarxos at yahoo dot com Assigned:
Status: Not a bug Package: *General Issues
PHP Version: 5CVS-2003-06-29 (dev) OS: Windows XP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: zarxos at yahoo dot com
New email:
PHP Version: OS:

 

 [2003-06-29 19:33 UTC] zarxos at yahoo dot com
Description:
------------
In Windows XP and Apache 1.3.27, when you try to load a php page, it says PHP could not be loaded because iconv.dll could not be found. This is fixable by moving it to C:\Windows\System32 but I thought I would just let you guys know.

Reproduce code:
---------------
Any PHP Code

Expected result:
----------------
Whatever PHP page I'm trying to load.

Actual result:
--------------
500 - Internal Server Error

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-29 20:07 UTC] edink@php.net
If you read install.txt that comes with PHP it would tell you to copy dlls\*.dll to system32 folder.
 [2003-11-09 16:53 UTC] spam at infeer dot com
To edink@php.net:
Very bad suggestion !!!
Do you realy expect ppl to copy all *.dll to the system32 folder when trying to use a beta PHP5 (or other version)? How do you expect Ppl do any testing?  

What I usually did in V4.x is to copy the apache API-dll
     C:/php4/sapi/php4apache.dll to C:/php4/ 
That did the trick so far. 

But in PHP V5 Apache complains it can't load php4apache.dll (even if it's there). I found out that PHP5 requires an additional DLL: the C:/php4/dlls/iconv.dll for some reson.
So I also copy 
    C:/php5/dlls/iconv.dll  to C:/php5/ 
and everything works so far again.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Aug 15 07:00:02 2025 UTC