|mnoGoSearch 3.4.1 reference manual: Full-featured search engine software|
|Prev||Chapter 2. Installing mnoGoSearch||Next|
Starting from the version 3.3.x, the mnoGoSearch PHP module is included into the main source distribution.
In order to install the module, please install the main mnoGoSearch components, then follow these steps:
Go to the /php subdirectory of the unpacked mnoGoSearch sources:
Note: Change the directory if you installed mnoGoSearch into a different location.
As user root:
As user root, go to the /etc/php.d directory and create a new file mnogosearch.ini with this content:
; Enable mnogosearch extension module extension=mnogosearch.so
Note: The location of the php.d directory may differ, depending on your system layout.
To make sure PHP has detected the mnoGoSearch PHP module, run this command from shell:
echo "<?php phpinfo();?>" | php | grep -i mnogosearch
The command output is expected to have these lines:
mnoGoSearch Support => enabled mnoGoSearch library version => 30305 (or a newer version number)
If you use PHP as an Apache module, restart Apache (as root):
service httpd restart
Note: The exact command depends on your operating system.