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

fgunno

Member
Apr 24, 2017
9
0
1
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!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Or does anybody has a solution to make LOAD DATA LOCAL INFILE work?
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.
 

fgunno

Member
Apr 24, 2017
9
0
1
Quebec
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.
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...
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
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.