安装
PHP 8.4
此扩展已被移至 » PECL 资源库;不再与 PHP 捆绑,从 PHP 8.4.0
安装此 PECL 扩展相关的信息可在手册中标题为 PECL 扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、 维护人员信息及变更日志等,都在此处: » https://pecl.php.net/package/pspell.
PHP < 8.4
To enable this extension compile PHP with the --with-pspell[=dir] option.
注意: Note to Win32 Users
为了使此扩展生效, DLL 文件必须能在 Windows 系统的 PATH 指示的路径下找到。如何操作的信息,请参见题为“如何在 Windows 中将 PHP 目录加到 PATH 中”的FAQ。虽然将 DLL 文件从 PHP 文件夹复制到 Windows 系统目录也行,但不建议这样做。 此扩展需要下列文件在 PATH 路径中: aspell-15.dll from the bin folder of the aspell installation.
Win32 support requires at least aspell version 0.50.
+添加备注
用户贡献的备注 1 note
chapman at wtinds dot com ¶
5 years ago
If you are compiling v7.3.x under CentOS 8, you will need to first enable PowerTools, then install aspell-devel - otherwise aspell-devel will not be available to you:
sudo dnf config-manager --set-enabled PowerTools
sudo dnf install -y aspell-devel
Then in your configure line, just use:
--with-pspell
NOT
--with-pspell=/some/dir