php - Call to undefined function recode_string() ubuntu

820

I got the error Call to undefined function recode_string()

in a simple php script, that had worked seamlessly beforehand.

Manually installing gnu recode on the system would not fix it.

327

Answer

Solution:

Install php-recode

Installing php-recode package on Ubuntu 16.04 (Xenial Xerus) is as easy as running the following command on terminal:

sudo apt-get update
sudo apt-get install php-recode
167

Answer

Solution:

It turns out php-reccode had to be installed manually now while it was formerly included so

sudo apt install php-recode

fixed it. Did not find a solution here or in the php manual as yet so thought it might help you too.

People are also looking for solutions to the problem: php - Highchart doesn't convert external image on view page into pdf?

Source

Didn't find the answer?

Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.

Ask a Question

Write quick answer

Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.

Similar questions

Find the answer in similar questions on our website.