|
Posted by Nick Iredale on 09/22/07 17:49
***
In message <46f4d3df$0$31120$6e1ede2f@read.cnntp.org>, gosha bine
<stereofrog@gmail.com> writes
>Nick Iredale wrote:
>> In a script I'm using successfully on a Linux server the code:
>> mb_language('uni');
>> mb_internal_encoding('UTF-8');
>> gives the error message:
>> Fatal error: Call to undefined function mb_language() in
>> W:\sites\play-school\httpdocs\contactar.php on line 2
>> on my PHP installation on my windows system.
>> [skip]
>>
>
>Run <? phpinfo(); ?> and make sure 'mbstring' is listed there. Also,
>does 'path to php.ini' actually point to the file you're editing? If
>both is yes, restart apache (exe file, not the service) and look if you
>get any error messages.
>
>
Thanks Gosha,
The php.ini I am editing is in the same directory as the php executable
phpinfo.php isn't mbstring and I'm getting the error message in the log:
Unknown PHP Warning: PHP Startup: Unable to load dynamic library
'E:\PHP\ext\php_mbstring.dll' - The specified module could not be found.
The actual path to the file is: E:\PHP\ext\php_mbstring.dll and matches
the path specified in php.ini.
I downloaded the PECL 5.2.4 Win32 binaries archive and extracted the
files to E:\PHP\ext but it doesn't contain php_mbstring.dll, so I copied
it from elsewhere (down loaded in 2003). php finds other dll files in
the same directory, so perhaps it is incompatible or corrupted. If so
where would I download a valid file? (php.net seems to say that all the
extensions are in the PECL download!)
(BTW I'm having the same problem with php_gd2.dll)
--
Nick
[Back to original message]
|