Use PHPdig to create your own Google

Source: Internet
Author: User

   1. What is php (as the mainstream development language) dig?

Php (as the mainstream development language) dig is a popular vertical search engine product in Foreign Countries (rather than a product, it is a search technology different from the traditional search engine ), php (as the mainstream development language) is used for programming, and php (as the mainstream development language) is used for program running efficiency, greatly improving the search response speed, it can search for the Internet like Google, Baidu, and other search engines. In addition to common webpages, the search content also includes various files, such as txt, doc, xls, and pdf, it has powerful content search and file parsing functions. Like traditional search engines, php (as the mainstream development language) dig includes the following three basic technologies:

   1. Spider Technology

   2. Web structured information extraction technology or metadata collection technology

   3. Word Segmentation and Indexing Technology

Unlike traditional search engines, php (as the mainstream development language) dig is applicable to more professional and deeper personalized search engines, it is the best choice to use it to create a vertical search engine for a certain field.

   2. How to obtain this php (as the mainstream development language) dig?

Php (as the mainstream development language) dig is a free product (Copyright required), and the latest version is php (as the mainstream development language) dig-1.8.9 to avoid compatibility issues with apache (the most popular WEB server platform on the Unix platform) and MySQL (the best combination with PHP) versions, we recommend that you use a lower-level version, its website address is: http://www.php (as the current mainstream development language) dig.net, is: http://www.php (as the current mainstream development language) dig.net/navigation.php (as the current mainstream development language )? Action = download: I have tried php (as the mainstream development language) dig-1.8.9, but there are many problems. I switched to php (as the mainstream development language) dig-1.8.8 has fewer problems.

   3. Steps

   1. Get the product

Access http://www.php (as the mainstream development language) dig.net/navigation.php (as the mainstream development language )? Action = download php (as the mainstream development language) dig-1.8.8 to the desktop, decompress to apache (the most popular WEB server platform on the Unix platform) Server html directory, the general path is: d: usrwwwhtml, once done, it is easy to debug and run php (as the mainstream development language)/cgi (not many people are using it now) + MySQL (the best combination with PHP) programs ).

   2. Run and configure php (as the mainstream development language) dig Database

Open the browser and enter http: // localhost/php (as the mainstream development language) dig/. Press enter to list php on the page (as the mainstream development language) find all dig files and folders, find the default homepage file (default, index), and click search. php (as the mainstream development language) file error prompt: Unable to connect to database: Check the connection script. It indicates that the database connection cannot be completed. We have not completed the database configuration of php (as the mainstream development language) dig. Go to the admin directory and find install. php (as the current mainstream development language) file, click Run, at first glance, full English interface (description, php (as the current mainstream development language) all versions of dig currently do not support Chinese interfaces.) It doesn't matter. If you have any Chinese experience, you may wish to customize it yourself, here is a copy of my own hand-made cn-language.php (as the current mainstream development language) Document Download (copy it to the locales directory ). In addition, you need to modify the config.php file in the ultimate desdirectory as the current development language file ()))))and style.css file (font modification and style modification ).

Go to install. after php (as the mainstream development language), the system requires us to enter the dig management username and password in php (as the mainstream development language). By default, the username and password are admin, the following page is displayed (after the Chinese version ):

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.