php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71181 Install failed : required mbstring then is enable
Submitted: 2015-12-21 14:44 UTC Modified: 2016-04-28 16:06 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:4 of 4 (100.0%)
Same Version:3 (75.0%)
Same OS:2 (50.0%)
From: brocailjohann at gmail dot com Assigned:
Status: Closed Package: mailparse (PECL)
PHP Version: 5.6.16 OS: Ubuntu 14.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
24 - 21 = ?
Subscribe to this entry?

 
 [2015-12-21 14:44 UTC] brocailjohann at gmail dot com
Description:
------------
Hi all,

I'm trying to install mailparse extension (https://pecl.php.net/package/mailparse) but it's fail, it tell me that mbstring extension is required, but it is (and enable)

I tried thought pecl and pickle, unfortunaly the result is same.

Test script:
---------------
docker run --rm -it php:5.6-cli bash

docker-php-ext-configure mbstring

docker-php-ext-install mbstring

php -m | grep 'mbstring'
mbstring

php -r "print mb_convert_case('foo', MB_CASE_UPPER);"
FOO

pecl install mailparse


Expected result:
----------------
Build process completed successfully
Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/mailparse.so'
install ok: channel://pecl.php.net/mailparse-2.1.6
configuration option "php_ini" is not set to php.ini location
You should add "extension=mailparse.so" to php.ini

Actual result:
--------------
pecl/mailparse requires PHP extension "mbstring"
No valid packages found
install failed

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-04-28 16:06 UTC] brocailjohann at gmail dot com
-Status: Open +Status: Closed
 [2016-04-28 16:06 UTC] brocailjohann at gmail dot com
Works fine now see : https://github.com/docker-library/php/issues/195
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 06:01:29 2024 UTC