#42762 [Opn]: pspell requires dll uncommented in php.ini
| From: | todd at magnifisites dot com | Date: | Tue, 25 Sep 2007 19:28:22 +0000 |
| Subject: | #42762 [Opn]: pspell requires dll uncommented in php.ini | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-42@lists.php.net to get a copy of this message | ||
ID: 42762
User updated by: todd at magnifisites dot com
Reported By: todd at magnifisites dot com
Status: Open
Bug Type: Documentation problem
Operating System: Windows
PHP Version: Irrelevant
New Comment:
>>Do you not feel that referencing the DLLs in the instalation secion
is sufficient?
I had assumed the DLLs being referred to were the aspell DLLs, not the
extension DLLs in the runtime configuration. Indeed, the aspell DLLs
need to be in the PATH as mentioned in the Win32 note you quoted. But
the statement "This extension has no configuration directives defined in
php.ini" is not a true statement. For Windows users there is indeed a
runtime configuration directive that needs to be uncommented. I think
the extra note to Windows users would be very beneficial.
>>While the lines are blurred on windows, adding a DLL counts
as an instalation step, not runtime configuration.
I agree, but once the PATH has been set for a Windows installation, the
php_*.dll files merely need to be uncommented in the php.ini and the
HTTP server restarted. We are no longer adding DLLs at this point,
really. They are already "there" in the extensions directory and they
will now be dynamically loaded upon server start. What we are doing is
making adjustments to the php.ini (runtime configuration) file. The
documentation clearly states that "This extension has no configuration
directives defined in php.ini." I think this causes confusion.
Thanks for listening,
Todd
Previous Comments:
------------------------------------------------------------------------
[2007-09-25 18:30:17] preinheimer@php.net
The instalation section indicates;
Installation
If you have the libraries needed add the --with-pspell[=dir] option
when compiling PHP.
Note to Win32 Users: In order for this extension to work, there are DLL
files that must be available to the Windows system PATH. See the FAQ
titled "How do I add my PHP directory to the PATH on Windows" for
information on how to do this. Although copying DLL files from the PHP
folder into the Windows system directory also works (because the system
directory is by default in the systems PATH), it is not recommended.
This extension requires the following files to be in the PATH:
aspell-15.dll from the bin folder of the aspell installation.
Do you not feel that referencing the DLLs in the instalation secion is
sufficient? While the lines are blurred on windows, adding a DLL counts
as an instalation step, not runtime configuration.
Win32 support is available only in PHP 4.3.3 and later versions. Also,
at least aspell version 0.50 is required.
------------------------------------------------------------------------
[2007-09-25 16:15:26] todd at magnifisites dot com
Description:
------------
The online documentation is slightly confusing in that it states there
are no configuration directives defined in php.ini whereas there
actually is an extension .dll that must be uncommented for Windows
users.
Reproduce code:
---------------
Current online documentation states ...
Runtime Configuration
This extension has no configuration directives defined in php.ini.
Actual result:
--------------
Runtime Configuration
This extension has no configuration directives defined in php.ini
except for Windows users. Windows users must uncomment the pspell
extension line and restart the HTTP server:
extension=php_pspell.dll
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42762&edit=1