|Home » Categories » Documentation|
Installation of the Attachment Indexing plugins
Article Number: 47 | Rating: 4.9/5 from 7 votes | Last Updated: Tue, Feb 12, 2013 at 8:08 AM
PHPKB knowledge base software is able to index text content of the files attached to knowledge base articles in order to make them searchable. Attachment indexing is supported in all editions of PHPKB knowledge base software. Some documents types can be searched without any additional tools, others need PHP modules enabled or third party tools (plugins) installed. All these modules (plugins) and 3rd party tools are free.
List of Supported File Types
Installation of Plugins to Search Attached Files on Windows Server
We strongly recommend you to use the latest version of PHP. These plugins work under PHP 5.3+ correctly. Earlier versions of PHP have bugs and may freeze when launch external programs (e.g. attachment indexation plugins) using Windows command line.
Download the latest PHP package for Windows (VC9 x86 Non Thread Safe is recommended).
PHP 5.3 doesn't support ISAPI anymore. So you need to use FastCGI instead.
1. Enabling Required PHP Extensions (Modules) on Windows Server
You need to enable certain PHP modules in order to index content of of MS Office 2007 documents.
2. Attachment Indexing Plugins Installation on Windows Server
Installation of Plugins to Search Attached Files on Linux/Unix Server
Please follow the instructions below to install/enable the attachment indexation plugins and required PHP extensions.
1. Enabling Required PHP Extensions (Modules) on Linux Server
2. Attachment Indexing Plugins Installation on Linux Server
If your system (RedHat / Fedora / CentOS) supports Yum Package Manager you can run this command instead to install necessary modules:
OR run following command to install necessary modules on a system that has APT library (e.g. Ubuntu, Debian):
What to do after installation of indexing plug-ins?
How to enable automatic indexing of file attachments when they are uploaded?
If you would like to auto-index the attached files as soon as they are uploaded, then there is another setting under "File Upload Settings" section of "Miscellaneous Settings". You can set the check box for "Index Attachments" as shown in image below.
Now you can upload attachments and they will be automatically indexed for search.
How to index attached files manually?
You can also manually run indexation for existing file attachments whenever required from "Tools" » "Index Attachments" section of the admin control panel as show below.
How does PHPKB searches the content of attached PDF Files?
PHPKB knowledge base software is able to index the text content of PDF documents and make them searchable. It converts a PDF file to text file format to search its contents. It uses "pdftotext utility" to convert Portable Document Format (PDF) files to plain text. It reads the PDF file, and writes a text file thus making itself able to search within the contents of PDF documents.
How to Disable Indexing for Specific File Types?
It may be necessary to disable attachment indexing for specific file types if conversion is unable to process the attachments due to size or other error. When disabled, conversion will be bypassed for only specified file types. Attachment indexing can also be disabled for all types if desired.
There are no attachments for this article.
There are no comments for this article. Be the first to post a comment.
URL Rewriting on IIS7 with PHPKB Knowledge Base Software
Viewed 404 times since Mon, Jan 28, 2013
I receive an Internal Server Error or HTTP 500 message
Viewed 457 times since Wed, Dec 5, 2012
Article Links - Adding a link to an article in the knowledge base
Viewed 539 times since Wed, Jan 30, 2013
How to use Import From HTML Module?
Viewed 531 times since Fri, Nov 9, 2012
Permissions & Rights assigned to various Admin User Levels
Viewed 3710 times since Thu, Sep 15, 2011
PHPKB Knowledge Base Software - Installation Tutorial
Viewed 3564 times since Fri, Aug 12, 2011
How to motivate people to contribute to a Knowledge Sharing System?
Viewed 1784 times since Mon, Nov 7, 2011
Setting up LDAP Integration & Authorization in PHPKB Software
Viewed 1407 times since Wed, May 2, 2012
How to backup and restore the knowledge base data?
Viewed 726 times since Sat, Jun 23, 2012