php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60963 undefined normalizer_normalize
Submitted: 2012-02-03 07:54 UTC Modified: 2012-02-03 11:35 UTC
From: bugzilla33 at gmail dot com Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.4.0RC6 OS: win 7
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: bugzilla33 at gmail dot com
New email:
PHP Version: OS:

Further comment on this bug is unnecessary.

 

 [2012-02-03 07:54 UTC] bugzilla33 at gmail dot com
Description:
------------
Description:
------------
1. use Apache 2.2.21 VC9
2. download http://windows.php.net/downloads/qa/php-5.4.0RC7-Win32-VC9-x86.zip
3. unpack to c:\php5\
4. rename php.ini-development -> php.ini
5. change php.ini:
   extension_dir = "c:\php5\ext"
   extension=php_intl.dll
6. restart apache
7. run any script


Test script:
---------------
<?php
 print(normalizer_normalize('test'));
?>

Expected result:
----------------
test

Actual result:
--------------
Fatal error: Call to undefined function normalizer_normalize() in C:\htdocs\test.pl\1.php on line 2


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-02-03 08:02 UTC] pajoye@php.net
-Status: Open +Status: Feedback
 [2012-02-03 08:02 UTC] pajoye@php.net
Are you sure the intl extension is actually loaded?

It works just fine (RC7 here but worked with RC6 too):

c:\test\540rc7nts>php -n -d extension_dir=ext -d extension=php_intl.dll --rf 
normalizer_normalize
Function [ <internal:intl> function normalizer_normalize ] {

  - Parameters [2] {
    Parameter #0 [ <required> $input ]
    Parameter #1 [ <optional> $form ]
  }
}


c:\test\540rc7nts>php -n -d extension_dir=ext -d extension=php_intl.dll -
r"normalizer_normalize();"

Warning: normalizer_normalize() expects at least 1 parameter, 0 given in Command 
line code on line 1
 [2012-02-03 10:27 UTC] bugzilla33 at gmail dot com
-Status: Feedback +Status: Open
 [2012-02-03 10:27 UTC] bugzilla33 at gmail dot com
RC7 on Win 7 64-bit:
change php.ini:
extension=php_gd2.dll
extension=php_intl.dll
extension=php_mbstring.dll

run phpinfo()
only mbstring loaded
where is gd and intl ??
 [2012-02-03 10:30 UTC] pajoye@php.net
-Status: Open +Status: Not a bug
 [2012-02-03 10:30 UTC] pajoye@php.net
Please ask further support on the php-windows or php-install mailing list:

http://www.php.net/mailing-lists.php
 [2012-02-03 11:33 UTC] bugzilla33 at gmail dot com
php -n -d extension_dir=ext -d extension=php_intl.dll -r"normalizer_normalize();"

this works, but extensions are not loaded when php run as apache module
 [2012-02-03 11:35 UTC] pajoye@php.net
-Block user comment: No +Block user comment: Yes
 [2012-02-03 11:35 UTC] pajoye@php.net
Please ask further support on the php-windows or php-install mailing list:

http://www.php.net/mailing-lists.php
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 14 09:01:31 2025 UTC