sephiith
sephiith

Reputation: 1197

All php files showing as 500 Internal Server Error

Problem: Any php file we attempt to access on our website shows up as a 500 internal server error. I'm not sure if this is related but I have had a look in the error logs and the below error appears:

    [08-Nov-2013 12:41:51 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/htscanner.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/htscanner.so: 
cannot open shared object file: No such file or directory in Unknown on line 0

Attempt: Some of the things I have tried to do is delete the over size error log and renamed the htaccess file to see if that was causing the problem.

Page: You can see the problem at this page: http://science.org.au/support-us/donate-now.html (Half way down in the iframe)

Question: Does anyone have any ideas on how to fix this? Things to try?

Upvotes: 1

Views: 508

Answers (2)

Mikhail Gerasimov
Mikhail Gerasimov

Reputation: 39606

Did you try this?

edit the file /etc/php5/cli/php.ini:

and remove the lines:

[htscanner] Extension = “htscanner.so” 
config_file = “.htaccess”
default_docroot = “/var/www”

Upvotes: 2

mvp
mvp

Reputation: 116407

You should pay more attention to what your error log says. According to it, you should either install htscanner.so PHP extension, or remove reference to it from your php.ini.

Upvotes: 1

Related Questions