|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 01 11:00:02 2025 UTC |
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