0

I would like to disable mysql native driver. I want to in my response get only string data, I know that it is not recommended.

I used this command to remove the extension, but it doesn't work:

apt-get purge php-mysqlnd

I got message:

Virtual packages like 'php-mysqlnd' can't be removed
5
  • im guessing you would have to compile php without it, but as i say,thats just a guess. Why do you want to do this? Commented Apr 10, 2017 at 10:45
  • i deployed api written in php on new server. On mobile platforms they got now int user_id, (previously was string). Commented Apr 10, 2017 at 10:55
  • Thats surely just an issue with the data exchange, what are you using, json? Xml? Commented Apr 10, 2017 at 12:07
  • json, but i want to in all places to send string, on previous server it worked. Commented Apr 10, 2017 at 12:09
  • stackoverflow.com/questions/31527050/… Commented Apr 10, 2017 at 12:10

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.