Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4383070
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T12:51:36+00:00 2026-05-21T12:51:36+00:00

I know how to properly change the MySQL ft_min_word_len configuration variable, but what I

  • 0

I know how to properly change the MySQL ft_min_word_len configuration variable, but what I can’t seem to easily find in the PHP & MySQL documentation (maybe I’m not using correct search terms) is if there’s a way to programatically get the value of ft_min_word_len using PHP. My search engine should throw an error if the query contains search terms shorter than ft_min_word_len and it’d be helpful if it could do it automatically without me remembering to set a variable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T12:51:37+00:00Added an answer on May 21, 2026 at 12:51 pm

    You can use show variables and retrieve its value from php.

    show variables like 'ft_min%'
    

    From php

    $query = mysql_query("show variables like 'ft_min%'") or die(trigger_error());
    $num = mysql_fetch_row($query);
    echo $num[1];
    

    Just for your information you can get this value even from the information_schema

    select variable_value from information_schema.global_variables
    where variable_name like 'ft_min%'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know how to change the value of a CheckBoxPreference , but I can't
I know this has been covered a lot, but I just can't seem to
I know that .live() is now deprecated but I cannot seem to change it
I dont know how to name the question properly, so fell free to change
As we all know, String is immutable in java. however, one can change it
I want to change the notification icon of my application but don't know what
Does anybody know how to properly identify CMYK images in ASP.NET using C#? When
I'd like to know how to properly use connection pooling with Active MQ. Currently
well i do not know how to use sql union properly . i have
My .NET application (VB.NET 3.5 if you really must know) forms do not properly

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.