XF 2.2 How to Make Xenforo Emoji Support Compatible Database Conversion?

Baby Community

Well-known member
The Main Topic Is Below.

XenForo Emoji Support and Compatible Database Conversion Friends, as soon as I read our brother XDinc's article on the subject,

I started trading. My database was previously in utf8 format. I'm in the process of getting full Xenforo emoji support. However, when I did something as described, I was getting an error message from the Bebek Forum server.

[root@server ~]# cd /var/www/vhosts/bebekforum.net.tr/httpdocs/

[root@server httpdocs]# php /var/www/vhosts/bebekforum.net.tr/httpdocs/cmd.php xf:convert-utf8mb4

I applied this command and the command given by our brother XDinc. You just need to find the exact directory where your site is located. The error message the server gave me;

PHP 5.6.0 or newer is required. 5.4.16 does not meet this requirement. Please ask your host to upgrade PHP.

I realized that PHP version is old and this command cannot be executed in this version. I tried many times, even for days.Finally, I wanted to research PHP upgrade issues. I searched and found. Previous Database :


For friends with similar problems, they should do the following on their servers: Centos 7 PHP Version update : 1. To install PHP 5.6, you need to install and activate the EPEL and Remi repository on your CentOS 7 system using the commands below. As I mentioned from the beginning, these commands are the source for other server versions according to Centos 7: You can find it in Tecmint: Linux Howtos, Tutorials & Guides.

2. Next, install yum-utils, a set of utilities that integrate with yum to enhance its default features, give yum more advanced package management options, and make it easier to use. A few of its key features include manipulating repositories, enabling or disabling packages on the go, and much more without manual configuration.

# yum install yum-utils

3. One of the most important programs provided by yum-utils is yum-config-manager, which you can use as default repository to active Remi repository to install various PHP versions. For example, if you want to install PHP 5.5, PHP 5.6 or PHP 7.2 on CentOS 7, enable it and install as shown.

# yum-config-manager --enable remi-php55 [Install PHP 5.5]

# yum-config-manager --enable remi-php56 [Install PHP 5.6]

# yum-config-manager --enable remi-php72 [Install PHP 7.2]

4. Now that you have enabled selected versions of PHP, you can install PHP (here we chose to install PHP 5.6) with all required modules as follows

# yum-config-manager --enable remi-php56 [Install PHP 5.6]
# yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo

Important things to note: If you want to downgrade PHP version for some reason, you need to uninstall existing PHP versions and then reinstall the new PHP with the modules you need. Then check again the PHP version installed on your system.

Now I go to the directory where the baby forum is.

cd /var/www/vhosts/bebekforum.net.tr/httpdocs

and I am executing the command given by my brother XDinc.

php /var/www/vhosts/bebekforum.net.tr/httpdocs/cmd.php xf:convert-utf8mb4
Of course, as my XDinc brother said, we do not forget to write the following code in config.php..

$config['fullUnicode'] = true;