php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65985 undefined symbol: php_iconv_string in Unknown on line 0
Submitted: 2013-10-28 15:45 UTC Modified: 2014-11-06 14:29 UTC
Votes:13
Avg. Score:4.5 ± 0.7
Reproduced:13 of 13 (100.0%)
Same Version:10 (76.9%)
Same OS:9 (69.2%)
From: riinamdar at gmail dot com Assigned:
Status: Not a bug Package: pecl_http (PECL)
PHP Version: 5.5.5 OS: Cent OS 6.4 64 bit
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: riinamdar at gmail dot com
New email:
PHP Version: OS:

 

 [2013-10-28 15:45 UTC] riinamdar at gmail dot com
Description:
------------
After installation on pecl_http
using 
pecl install pecl_http

after that added extension in php.ini

and restarted apache 
using service httpd restart

we are getting

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/http.so' - /usr/lib64/php/modules/http.so: undefined symbol: php_iconv_string in Unknown on line 0



Expected result:
----------------
Pecl_http should load correct

Actual result:
--------------
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/http.so' - /usr/lib64/php/modules/http.so: undefined symbol: php_iconv_string in Unknown on line 0

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-10-28 15:51 UTC] riinamdar at gmail dot com
if you need more details please let me know
 [2013-11-08 10:32 UTC] rciaccafava at gmail dot com
Solved this by installing the php-http package of remi repository.
 [2013-11-11 09:59 UTC] bhtw at mcp dot com
I still have the same problem. OS: Fedora 19, PHP 5.5.5.

Done the same thing as described above, including installing php-http1 package of remi repository. 

Solved nothing.

I of course first unistalled http 2.0 package via yum:

yum remove php-pecl-http.x86_64

then sucsessfully installed the remi repo:

yum install php-pecl-http1-devel

But still I get the PHP Warning.
 [2013-12-23 17:14 UTC] drisskazitani at hotmail dot com
This has resolved my case (Fedora v15 x86) : 

sudo yum install php-pecl-http
 [2014-03-10 15:49 UTC] rstrong at pica9 dot com
I had this problem as well. OS CentOS 6.4, PHP 5.5.10

Couldn't figure it out so I uninstalled all php packages and then reinstalled 5.5 from the remi repo. Then I installed php-pecl-http1 and it worked. Not sure what the issue was.
 [2014-04-16 17:59 UTC] sherlan dot moriah at gmail dot com
I was able to hack around this by renaming the http.ini to z_http.ini. It seems that http.so needs iconv.so loaded. Renaming results in http.so being loaded after iconv.so. 

--
mv http.ini z_http.ini
--

OS: CentOS 6.5 64-bit | PHP 5.5
 [2014-04-18 12:00 UTC] riinamdar at gmail dot com
Renaming the http.ini to z_http.ini. It seems that http.so needs iconv.so loaded. Renaming results in http.so being loaded after iconv.so. 

--
mv http.ini z_http.ini
is Worksfor me
 [2014-11-06 14:29 UTC] mike@php.net
-Status: Open +Status: Not a bug
 [2014-11-06 14:29 UTC] mike@php.net
Yes, please load required modules prior http.so
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 14:01:36 2025 UTC