Internal PHP setup for mysqlnd
We develop webmail client which can be deployed using an installer script and added alongside Roundcube, Horde etc. - those available if you access cPanel on port 2096.
We're about to roll out a new version, what's stopping us is we require mysqlnd for internal PHP ( /usr/local/cpanel/3rdparty/bin/php ). However, we couldn't find a way to enable such an option, is that possible at all? If we need to rebuild PHP with such option, how would we go about it?
Thank you for all the help
-
Hey there! There is not a supported way to modify the internal PHP for cPanel, as that is something that would be overwritten with nightly updates. I'm sorry I don't have better news on this issue for you. 0 -
I understand, and thank you for your response, it's really appreciated. Are there any plans to update MySQL driver used in internal PHP? It looks like MySQL 5.6 one is currently used there. The specific reason why we need this is JSON fields support which isn't there prior to 5.7.8 version. 0 -
cPanel currently uses MySQL 5.6 internally, which can be seen with the following command: # /usr/local/cpanel/3rdparty/bin/mysql -V /usr/local/cpanel/3rdparty/bin/mysql Ver 14.14 Distrib 5.6.43, for Linux (x86_64) using EditLine wrapper
I reached out to the developers about this and there isn't currently a timeframe to update the internal database structure.0 -
Understood, thanks again! 0
Please sign in to leave a comment.
Comments
4 comments