01.01.2021

Install Php Mbstring Extension Debian Jessie

Install Php Mbstring Extension Debian Jessie 5,7/10 5658 votes
Active3 years, 8 months ago

I'd like to try PHP7.0 on Debian Jessie and am trying to install it from sid. However, php7.0 depends on php7.0-common which depends on php-common > 18 while php-common in sid is at 17. Type in console as root: apt-get update && apt-get install php5-curl or with sudo: sudo apt-get update && sudo apt-get install php5-curl Sorry I missread.

How do I install PHP cURL on Linux Debian? I tried the following code and got the error below

Error:

I resolved this issue. My Linux box was unable to browse and resolve hosts names.After adding appropriate roots, the issue was resolved.

Brian
7,2627 gold badges31 silver badges43 bronze badges
InventorInventor
1552 gold badges4 silver badges13 bronze badges

Yum Install Php Mbstring

3 Answers

Type in console as root:

or with sudo:

Sorry I missread.

1st, check your DNS config and if you can ping any host at all,

If it does not work, check /etc/resolv.conf or /etc/network/resolv.conf, if not, change your apt-source to a different one.

Mirrors: http://www.debian.org/mirror/list

You should not use Ubuntu sources on Debian and vice versa.

Daniel W.

Php Mbstring Extension Ubuntu

Daniel W.
20.8k7 gold badges52 silver badges100 bronze badges

I wrote an article on topis how to [manually install curl on debian linu][1]x.

[1]: http://www.jasom.net/how-to-install-curl-command-manually-on-debian-linux. This is its shortcut:

  1. cd /usr/local/src
  2. wget http://curl.haxx.se/download/curl-7.36.0.tar.gz
  3. tar -xvzf curl-7.36.0.tar.gz
  4. rm *.gz
  5. cd curl-7.6.0
  6. ./configure
  7. make
  8. make install

Php Mbstring Extension

And restart Apache. If you will have an error during point 6, try to run apt-get install build-essential.

Jasom DotnetJasom Dotnet

Whatever approach you take, make sure in the end that you have an updated version of curl and libcurl. You can do curl --version and see the versions.

Here's what I did to get the latest curl version installed in Ubuntu:

  1. sudo add-apt-repository 'deb http://mirrors.kernel.org/ubuntu wily main'
  2. sudo apt-get update
  3. sudo apt-get install curl
genegcgenegc

Not the answer you're looking for? Browse other questions tagged phplinuxcurl or ask your own question.

Active1 year, 2 months ago

I want to install mbstring in PHP. I used these commands in ssh:

I tried all the below repository, but I always get:

No package php-mbstring available.

Peter Mortensen
8,55916 gold badges62 silver badges85 bronze badges
Suraj Kumar

migrated from stackoverflow.comDec 15 '12 at 19:35

This question came from our site for professional and enthusiast programmers.

1 Answer

Open up a terminal (# - 'shorthand' for terminal) and run these commands:

Install Php Mbstring Extension Debian Jessie

or use ftp://rpmfind.net/linux/centos/6.3/os/x86_64/Packages/php-mbstring-5.3.3-3.el6_2.8.x86_64.rpm for 64-bit, depending on your system.

If you use a desktop interface (most likely), you can just double click on the .rpm file in the file browser to install, instead of using terminal.This is kind of the 'old' way to install things. Before yum simplified things.

Mbstring

Please note that you need to run as root. The best way to do so is to type sudo Driver hp intel 82801fb ich6. before each command. Example:

Peter Mortensen
8,55916 gold badges62 silver badges85 bronze badges
bobthyasianbobthyasian