The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Apache Build - Use System Mysql?

Discussion in 'EasyApache' started by micron, Feb 15, 2004.

  1. micron

    micron Member

    Joined:
    Dec 1, 2002
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    Under PHP Module, there's an option for "Use System Mysql". Can someone enlighten me as to what this is?

    Thanks. :)
     
  2. elleryjh

    elleryjh Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    479
    Likes Received:
    0
    Trophy Points:
    16
    *bump*

    I'm wondering the same thing.
     
  3. PbG

    PbG Well-Known Member

    Joined:
    Mar 11, 2003
    Messages:
    241
    Likes Received:
    0
    Trophy Points:
    16
    The following comes from the compiler:

    +--------------------------------------------------------------------+
    | *** WARNING *** |
    | |
    | You chose to compile PHP with the built-in MySQL support. If you |
    | are compiling a server module, and intend to use other server |
    | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0, |
    | mod_perl) you must NOT rely on PHP's built-in MySQL support, and |
    | instead build it with your local MySQL support files, by adding |
    | --with-mysql=/path/to/mysql to your configure line. |
    +--------------------------------------------------------------------+
     
  4. Gavster

    Gavster Active Member

    Joined:
    Apr 3, 2002
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hi Micron -

    The essential difference is that "Use system MySQL" compiles using the mysql system libs that are installed with MySQL, and "Mysql Module" uses the mysql libs in the mysql extension bundled with the php distro - which are usually behind the times.

    Since PHP has dropped support for bundling their own set of mysql libs in new versions of PHP(especially 5.x), you should always build apache in cPanel with the "Use System MySQL" option.

    Kind regards,

    Gavin
     
  5. LordJMann

    LordJMann Well-Known Member

    Joined:
    Jun 15, 2003
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    So "Use System MySQL" checked and "Mysql module" unchecked? Then I'll have a mysql 5.0 extension instead of a 4.1 extension?
     
Loading...

Share This Page