Unable to install WordPress using Plesk WordPress Toolkit on CloudLinux : Call to undefined function json_encode()

Follow

Comments

3 comments

  • Avatar
    Unknown User

    Need to ensure cagefs is updated / restart your alt-php service or you may experience a post install issue of WordPress saying the mysql extension is missing

    Example:

    cagefsctl --force-update-etc
    cagefsctl --force-update
    cagefsctl --rebuild-alt-php-ini
    service alt-php71-fpm restart

  • Avatar
    Lars-Erik H.Bergland

    You dont need to log in to ssh, you can go to Tools & Settings > PHP Settings and enable mbstring, json and mysqli there :)

  • Avatar
    Ivan Postnikov

    Hello @Lars-Erik,

    Thank you for notice.

    This article's author will review it soon.

Please sign in to leave a comment.

Have more questions? Submit a request