Bug 10879

Summary: PHP crashes if we use mb_ereg_replace without installing php-mbstring
Product: Mageia Reporter: Olivier FAURAX <olivier>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: oe, oliver.bgr
Version: 3Keywords: Triaged
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: php-mbstring CVE:
Status comment:

Description Olivier FAURAX 2013-07-30 01:21:29 CEST
Description of problem:
Call to mb_ereg_replace in a standard apache/php installation makes the PHP script stop without any message, not even in the logs

Steps to Reproduce:
1. install apache with mod_php
2. make a script that calls mb_ereg_replace and display something after

Result : nothing is displayed after


Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2013-07-30 19:53:21 CEST

Keywords: (none) => Triaged
CC: (none) => oe, oliver.bgr

Comment 1 Olivier FAURAX 2013-08-02 14:25:54 CEST
INVALID, as I missed that by default, PHP errors are OFF.

I now correctly have:
Fatal error: Call to undefined function mb_ereg_replace()

Status: NEW => RESOLVED
Resolution: (none) => INVALID