I loaded the above Php script onto my web host and the program ran fine. Phpinfo() clearly shows Pspell Support as being enabled and no Fatal Errors msgs popped up which confirms the problem resides in my PC's local server.
I searched the internet for Pspell extension support. Pspell has been replaced by Aspell. I downloaded the Aspell program file as well as the Aspell English library file and placed them together in the c:\wamp\www localhost directory.
It didn't work. The docmentation isn't very clear on what additional configuration is necessary to get it to run.
I'm also not very clear on what the
$dict_config=pspell_config_create('en','american');
script is attempting to do.
I am wondering if I have to manually place the Aspell.dll file in one of the folders i.e. cgi-bin and rebooting in order to get it to work.