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.

Recompiling PHP with "--with-mysql=/usr"

Discussion in 'EasyApache' started by fgunno, May 23, 2017.

  1. fgunno

    fgunno Member

    Joined:
    Apr 24, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Quebec
    cPanel Access Level:
    Root Administrator
    I need to recompile easy apache 4 with "--with-mysql=/usr"
    to replace the Recompiling PHP with "--with-mysql=/shared"

    How can it's be done?

    Or does anybody has a solution to make LOAD DATA LOCAL INFILE work?

    Thanks!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you provide some more information about what in-particular isn't working, or what's leading you to make this configuration change?

    Thank you.
     
  3. fgunno

    fgunno Member

    Joined:
    Apr 24, 2017
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Quebec
    cPanel Access Level:
    Root Administrator
    We got a script that use the fonction. The site work perfectly on Old Cpanel Server 1.
    We migrate it on the New CPANEL Server and the function doesn't work anymore...

    first we got the error : "The used command is not allowed with this MySQL version"
    So I enabled it in the mysql config, now we dont get the error, but the fonction dont do anything...
    The dev team say it's a server problem because it's work on the old one, so after searching a lot I found that the
    "--with-mysql=" is /shared on the new server and /usr on the old and its seems that it can be the problem...
     
    #3 fgunno, May 25, 2017
    Last edited by a moderator: May 25, 2017
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you open a support ticket using the link in my signature so we can take a closer look? You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...
Similar Threads - Recompiling mysql=
  1. Mbrower
    Replies:
    1
    Views:
    680

Share This Page