-3

On my local host, there is no problem with this project, no warning or an arror, I didn't see error log file to. But, after I uploaded my project to online host, there is error log showing on my root folder. I've googled but not yet found the way to fix it.

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/htscanner.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/htscanner.so: cannot open shared object file: No such file or directory in Unknown on line 0

Adrian Cid Almaguer
  • 7,815
  • 13
  • 41
  • 63
  • Does your host allow you to dynamically load libraries? – gabe3886 May 21 '15 at 09:47
  • 2
    Update your question with what troubleshooting you have already done. For example, does the file exist and are the permissions correct? – zamnuts May 21 '15 at 09:47
  • @all, how do i check that my host allow to dynamically load libraries? I'm using codeigniter to built it. and, yes, the file exist on my root folder. I see that the permissions is 644. Sorry i'm new in web development. Still learn. – user2392149 May 21 '15 at 09:54
  • Please provide the whole error, there should be more. – EternalHour May 21 '15 at 10:02
  • Does your project include a local `php.ini` or `.user.ini` file? If so, check that for "htscanner". In fact, I would search your entire project for the string "htscanner". It's obvious something is requiring the `htscanner` extension but it does not exist on your server – Phil May 22 '15 at 01:23
  • I found another problem. My autocomplete not work well. I try my autocomplete on my localhost, work well. But when i upload it, i found console.log say 500 internal server error. Is this related with error_log on my root folder? I use jQuery ui – user2392149 May 22 '15 at 01:26
  • Yes, it's most likely related. The response code from any PHP script with that error will be 500. – Phil May 22 '15 at 01:26
  • if the problem come from the autocomplete, maybe it caused by ajax, i use ajax to post an keyword to my controller, and then call my model. console.log say `POST http://myweb.com/data/header/lookup 500 (Internal Server Error)`. I've already update my code, enable csrf protection on config.php. Then adding crsf_token_name and csrf_hash at data before sent by ajax. But still `500 (Internal Server Error)` – user2392149 May 22 '15 at 01:50
  • Yes, because of the missing extension error (you know, the one in your question). Focus on that. Have you found any instances of "htscanner" in **any** of your project files? – Phil May 22 '15 at 01:55
  • @Phil, sorry long to response. This project has work perfectly. But about "htscanner" in error_log still able, i still search about it... – user2392149 May 25 '15 at 02:22

1 Answers1

0

Try add php.ini on your root folder. Then add some default configuration.

Hopely useful

Ugy Astro
  • 357
  • 3
  • 6
  • 16