Hi everybody
Fatal error: Call to undefined function pspell_new() in /Applications/xampp/xamppfiles/htdocs/sa/sat.php on line 2
i am using mac osx 10.5.8(Leopard) and xampp server.
i am very newbie to pspell.
can anyone help me to resolve this.
Regards,
sathish
Call to undefined function pspell_new()
Moderator: General Moderators
-
sathishkumar
- Forum Newbie
- Posts: 7
- Joined: Mon Mar 15, 2010 11:43 pm
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: Call to undefined function pspell_new()
Is pspell loaded?
execute phpinfo(); and see if it is listed in the module list. If not, then you need to enable it in your php.ini and restart your webserver.
execute phpinfo(); and see if it is listed in the module list. If not, then you need to enable it in your php.ini and restart your webserver.
-
sathishkumar
- Forum Newbie
- Posts: 7
- Joined: Mon Mar 15, 2010 11:43 pm
Re: Call to undefined function pspell_new()
how to load pspell in mac osx xampp server.
I went into php.ini but i cant find pspell in it. I find aspell is to be download. How install the aspell in mac osx xampp server
Regards,
sathish
I went into php.ini but i cant find pspell in it. I find aspell is to be download. How install the aspell in mac osx xampp server
Regards,
sathish
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: Call to undefined function pspell_new()
All you should need to do is uncomment extension=pspell.xxx from the extensions section of the php.ini. If you run a search for "pspell" in your php.ini file, you should only find 1 occurance.
-
sathishkumar
- Forum Newbie
- Posts: 7
- Joined: Mon Mar 15, 2010 11:43 pm
Re: Call to undefined function pspell_new()
i am running on xampp in mac os x 10.5.8. I install cocoaspell for english dictionary. i have php_pspell.dll file and i have to know where i have put this dll file in my mac
cheers,
sathish
cheers,
sathish
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: Call to undefined function pspell_new()
This question might be better asked in the installation forum. I have next to zero mac experience, and didnt think mac librarys were dll's (doesnt mac use .so like *nix?). Pspell should have shipped with php by default, so you shouldnt need to add any files, you just need to flip the switch to enable the extension in the php.ini file. If you check your php installation directory, there should be a directory called ext. The ext directory should contain all php default extensions.