Freitag, 22. August 2014

php and owncloud-Error: ...pspell.so: cannot open shared object file

I got mail on my root-account saying, that in php is something missing:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/pspell.so' - /usr/lib/php5/20090626/pspell.so: cannot open shared object file: No such file or directory in Unknown on line 0

Got hints on the web that this has someting to do with owncloud.

Resolution: Install the spell-libs:

sudo apt-get install libpspell-dev
sudo apt-get install php5-pspell
sudo apt-get install aspell-en aspell-de
You can test if it worked after a apache-restart with

sudo php -v


I got this from: http://stackoverflow.com/questions/1957808/how-can-i-install-pspell-in-php5-ubuntu