|
This assumes a basic knowledge of ./configure command... (and folks I know nothing)
Note: this was done on a Mac running the latest versions of the GCC compiler. I barely understand the compilers, I just wanted to help others who may have to do the same task someday.
- Download latest aspell library and language dictionary
- www.gnu.org/software/aspell
- Download PHP
- www.php.net
- Install Aspell
- Unzip the aspell archive.
- Using the terminal execute the configure file in the aspell directory
- no parameters
- will install Aspell into /usr/local/bin
- Run the make command
- Run "sudo make install"
- enter admin password
- You can run /usr/local/bin/aspell
- but no dictionaries will be found.
- Install A Dictionary
- Unzip the dictionary library
- Use the command line to navigate to this directory
- Run ./configure with the following flags:
- ASPELL=/usr/local/bin/aspell
- PREZIP=/usr/local/bin/prezip-bin
- so...
- :: ./configure ASPELL=/usr/local/bin/aspell PREZIP=/usr/local/bin/prezip-bin
- You should receive no errors and return quickly to the command line.
- If so run make
- Run sudo make install.
- Enter password
- You can now run aspell from the command line!
- Compile PHP
- Unzip the PHP contents
- Again with the command line navigate to the PHP source directory
- Run ./configure
- If you currently have PHP running, look at your PHP Info to get the previous build options so as to reuse them
- Add the --enable-pspell option
- You do not need to specify location
- make
- sudo make install
- Enter password
- restart your server
- Check out this great resource:
- www.broken-notebook.com/spell_checker
|
 |