Solve error message: PHP Startup: Unable to load dynamic library htscanner.so
Monday, August 24, 2009 posted by admin
If you get the following error message in Ubuntu when you use PHP based shell scripts:
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20060613+lfs/htscanner.so’ – /usr/lib/php5/20060613+lfs/htscanner.so: cannot open shared object file: No such file or directory in Unknown on line 0
Then edit the file /etc/php5/cli/php.ini:
vi /etc/php5/cli/php.ini
and remove the lines:
[htscanner]
Extension = “htscanner.so”
config_file = “.htaccess”
default_docroot = “/var/www”
As the htscanner module works only for scripts within webservers but not for commandline scripts.
