Easy apache compile error with enable extention Mysqli on cloudlinux
Hello,
Easy apache failed to compile mysqli extension on my cloudlinux box with mysql governor installed.
Please help !
ext/mysqli/.libs/mysqli.o: In function `php_local_infile_error':
/home/cpeasyapache/src/php-5.3.27/ext/mysqli/mysqli.c:1495: undefined reference to `client_errors'
ext/mysqli/.libs/mysqli.o: In function `php_local_infile_read':
/home/cpeasyapache/src/php-5.3.27/ext/mysqli/mysqli.c:1419: undefined reference to `client_errors'
ext/mysqli/.libs/mysqli.o: In function `php_local_infile_init':
/home/cpeasyapache/src/php-5.3.27/ext/mysqli/mysqli.c:1372: undefined reference to `client_errors'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
!! 'make -j2' failed with exit code '512' !!
!! Restoring original working apache !!
!! Executing '/scripts/initsslhttpd' !!
!! Restarting 'httpd' ... !!
!! 'httpd' restart complete. !!
Please help !
-
Please, run: /usr/share/lve/dbgovernor/mysqlgovernor.py --delete There is an issue with latest version of MySQL packed with MySQL governor. It should be fixed on Monday, but for now disabling governor/reverting old MySQL (see command above) is the way to solve the issue. 0 -
Hello, Thank you iseletsk :) I solved the problem by adding custom mysqli configure flags as : # touch /var/cpanel/easy/apache/rawopts/all_php5 # vi /var/cpanel/easy/apache/rawopts/all_php5 added following lines: --enable-mysqlnd --with-mysqli=mysqlnd unchecked mysqli option from easyapache then rebuild build php : # /scripts/easyapache 0
Please sign in to leave a comment.
Comments
2 comments