Re: php_enchant not loadable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/8/22 Niel Archer <not@xxxxxxxxxx>:
>> Niel Archer wrote:
>> >> Hi there,
>> >>
>> >> i switch to PHP5.3 and now PSPELL is no more working. I read the docu
>> >> and found that i must use PHP_Enchant from now.
>> >>
>> >> But everytime i try to use is PHP gets an error:
>> >>
>> >> "Unable to load dynamic library 'C:\PHP\ext\php_enchant.dll' - The
>> >> specified module could not be found"
>> >>
>> >> All other extension are loaded. The extension is in the defined
>> >> extension-dir and the settings in php.ini are ok.
>> >
>> > Where did you get the extension file?  The enchant extension is not
>> > supplied with PHP 5.3. It is available from PECL according to its
>> > documentation, but as no windows versions of these extensions have been
>> > available since PHP 5.2.7 or so. Any version you have is probably
>> > incorrect unless you compiled it yourself.
>> >
>> >> I run PHP on Windows XP Prof...   Any ideas?
>> >>
>> >> Bye..
>> >>
>> >> --
>> >> PHP Windows Mailing List (http://www.php.net/)
>> >> To unsubscribe, visit: http://www.php.net/unsub.php
>> >>
>> >
>> > --
>> > Niel Archer
>> >
>> >
>>
>> Actually that is incorrect - enchant is available for PHP 5.3 on windows
>> but ONLY for the version compiled with VC9 - it is NOT available and
>> cannot be used with VC6 (and so mod_php with apache)
>
> Thanks for the further info. I have not used the VC9 builds at all, so
> was unaware of that.
>
>> there is a libenchant.dll included in the distribution that PHP must be
>> able to find - easy way to do this is to put your PHP folder in your
>> windows PATH
>
> Hopefully I'm just too tired, but I can't parse the first half of this.
> I assume you are referring to VC9 builds only.
>
>> Thanks,
>> Elizabeth Smith
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>
> --
> Niel Archer
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

php_enchant is only available with the VC9 builds and requires
external libraries.

According to depends.exe, they are :

libenchant.dll (supplied as part of the VC9 build).

and

libglib-2.0.0.dll
libgmodule-2.0.0.dll

which come from http://www.abisource.com/projects/enchant/

AFAICT, you will need to compile these libraries yourself. See the
quote from [1] below.

"Getting Enchant

You can get Enchant from AbiWord's SVN. Instructions for how to use
AbiWord's anonsvn can be found here:
http://www.abisource.com/developers. The module's name is "enchant".

Alternately, you can download Enchant 1.5.0 [2] (May 23, 2009). Older
versions are still available here [3].

You can browse the Enchant source online from:
http://www.abisource.com/viewvc/enchant/trunk/. Enchant's public API
can be found here. Enchant's provider plugin API can be found here.
Enchant's C++ API can be found here."


Regards,

Richard Quadling.

[1] http://www.abisource.com/projects/enchant/#download
[2] http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz
[3] http://www.abisource.com/downloads/enchant/
-- 
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux