PHP Manual
Prev |  | Next

# CXXIV. Pspell Functions

# Introduction

These functions allow you to check the spelling of a word and offer suggestions.

# Requirements

To compile PHP with pspell support, you need the aspell library, available from http://aspell.sourceforge.net/.

# Installation

If you have the libraries needed add the --with-pspell[=dir] option when compiling PHP.

> Note to Win32 Users: win32 support is available only in PHP 4.3.3 and later versions. Also, you must have aspell 0.50 or newer installed. In order to enable this module under Windows, you must copy `aspell-15.dll` from the `bin` folder of your aspell installation to a folder where PHP will be able to find it. `C:\PHP` or the SYSTEM32 folder of your windows machine (Ex: `C:\WINNT\SYSTEM32` or `C:\WINDOWS\SYSTEM32`) are good choices.

# Runtime Configuration

This extension has no configuration directives defined in `php.ini`.

# Resource Types

This extension has no resource types defined.

# Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

`PSPELL_FAST` (integer)

`PSPELL_NORMAL` (integer)

`PSPELL_BAD_SPELLERS` (integer)

`PSPELL_RUN_TOGETHER` (integer)

Prev | Home | Next
ps_translate | Up | pspell_add_to_personal