Php library change
Hi,
After cpanel doing auto update, our client experience an error on their website. After checking we found this:
How to fix this? We already compare to other cpanel in our server. It's not gap like this. Please advice. This the error show on website:
Client API version => 5.6.28
Client API library version => 5.6.28
Client API header version => 5.5.42
How to fix this? We already compare to other cpanel in our server. It's not gap like this. Please advice. This the error show on website:
Warning: mysql_connect(): Headers and client library minor version mismatch. Headers:50542 Library:50628 in /home/domain/public_html/domain.com/system/database/mysql.php on line 6
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/domain/public_html/domain.com/system/database/mysql.php:6) in /home/domain/public_html/domain.com/system/library/session.php on line
11Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/domain/public_html/domain.com/system/database/mysql.php:6) in /home/domain/public_html/domain.com/system/library/session.php on line
11Warning: Cannot modify header information - headers already sent by (output started at /home/domain/public_html/domain.com/system/database/mysql.php:6) in /home/domain/public_html/domain.com/index.php on line
173Warning: Cannot modify header information - headers already sent by (output started at /home/domain/public_html/domain.com/system/database/mysql.php:6) in /home/domain/public_html/domain.com/system/library/currency.php on line 45-
Hello :) Are you using a custom version of MySQL? Please post the output from the following commands: mysql --version cat /var/cpanel/rpm.versions.d/local.versions
Thank you.0 -
Here is output: root@server2 [~]# mysql --version mysql Ver 14.14 Distrib 5.6.28, for Linux (x86_64) using EditLine wrapper root@server2 [~]# cat /var/cpanel/rpm.versions.d/local.versions --- file_format: version: 2 install_targets: {} rpm_locations: {} srpm_sub_packages: {} srpm_versions: {} target_settings: clamav: installed easy-tomcat7: uninstalled munin: installed url_templates: {} root@server2 [~]#0 -
Did you recently upgrade the version of MySQL on this system? If so, could you rebuild Apache/PHP via EasyApache and let us know if the issue persists? Thank you. 0 -
I've got the same issue. New server, most of the sites I moved over from testing don't work. mysql Ver 15.1 Distrib 10.0.24-MariaDB, for Linux (x86_64) using readline 5.1 Running Cloudlinux + cPanel 0 -
As a follow up to this. When I did easy apache, I found the following problem with mysql. Could not compile a simple mysql.h program: -compile- -output- The error was listed under Mysql and Mysql improved extension with a "Click Here for Details". 0 -
Hello :) You can use the following command to ensure the required RPMs are installed: /scripts/check_cpanel_rpms --fix
If that installs some missing RPMS, you can then proceed to run EasyApache again. Thank you.0 -
Im on my 8th compile now. dryrun test 'MySQL Compile Test' did not return true 0 -
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. 0
Please sign in to leave a comment.
Comments
8 comments