Bug #60963 [Opn->Nab]: undefined normalizer_normalize
Edit report at https://bugs.php.net/bug.php?id=60963&edit=1
ID: 60963
Updated by: pajoye@php.net
Reported by: bugzilla33 at gmail dot com
Summary: undefined normalizer_normalize
-Status: Open
+Status: Not a bug
Type: Bug
Package: Unknown/Other Function
Operating System: win 7
PHP Version: 5.4.0RC6
Block user comment: N
Private report: N
New Comment:
Please ask further support on the php-windows or php-install mailing list:
http://www.php.net/mailing-lists.php
Previous Comments:
------------------------------------------------------------------------
[2012-02-03 10:27:18] 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 08:02:43] 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 07:54:59] 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
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60963&edit=1
Thread (6 messages)