• We've added extra Spam Protection, Don't use any VPN when you create an account, maybe your registration was rejected.

How To ? Emoji are not available ? ?

Ella Hunt

New Member
Registered
Joined
Feb 27, 2018
Messages
3
I havent emoji in my editor, I have set all settings. What i do wrong?

?
 
Solution
You need to run it on the CLI: php cmd.php xf:convert-utf8mb4

/cmd.php is in your XF root. :)

You can now run the following command:

Cpanel php /home/$cpuser/public_html/cmd.php xf:convert-utf8mb4

Plesk php /var/www/vhosts/domain.com/httpdocs/cmd.php xf:convert-utf8mb4

Victoria

New Member
Registered
Joined
Feb 27, 2018
Messages
1
You need to run it on the CLI: php cmd.php xf:convert-utf8mb4

/cmd.php is in your XF root. :)

You can now run the following command:

Cpanel php /home/$cpuser/public_html/cmd.php xf:convert-utf8mb4

Plesk php /var/www/vhosts/domain.com/httpdocs/cmd.php xf:convert-utf8mb4


No convertable tables found. No action required.
 

johnv8107

New Member
Registered
Joined
Jan 28, 2019
Messages
17
Hello, few months ago i did php /home/$cpuser/public_html/cmd.php xf:convert-utf8mb4
now when i want install my db on other host i can't how can i back this convert ?
 

Admin

Executive Member
Staff member
Administrator
Joined
Dec 31, 2015
Messages
2,173
php /var/www/vhosts/domain.com/httpdocs/cmd.php xf:con vert-utf8mb4

php -v -bash: php: command not found :(

The OP was likely executing cmd.php with a much older version of PHP.


Will tell you if you’re running the expected version.

Your web server may well be using a different PHP executable entirely which isn’t always what you would expect.
 

Admin

Executive Member
Staff member
Administrator
Joined
Dec 31, 2015
Messages
2,173
If you have PHP 7.3 Installed via Plesk Obsidian on Centos 7 and when you go to command line and type php you get the error Command not found

the reason is because the Plesk PHP binaries are in /opt/plesk/php/version/bin/
So in order to execute the script with the PHP 7.3 binary, you would have to use:

/opt/plesk/php/7.3/bin/php instead of php
Or to simplify things just create a symlink for /usr/bin/php to /opt/plesk/php/7.3/bin/php by typing the following command:
sudo ln -s /opt/plesk/php/7.3/bin/php /usr/bin/php
Now you can use the php in command line
 
Top