Install Php Mbstring Extension Debian Jessie
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.
BrianYum 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.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:
- cd /usr/local/src
- wget http://curl.haxx.se/download/curl-7.36.0.tar.gz
- tar -xvzf curl-7.36.0.tar.gz
- rm *.gz
- cd curl-7.6.0
- ./configure
- make
- 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.
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:
sudo add-apt-repository 'deb http://mirrors.kernel.org/ubuntu wily main'
sudo apt-get update
sudo apt-get install curl
Not the answer you're looking for? Browse other questions tagged phplinuxcurl or ask your own question.
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 Mortensenmigrated 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:
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.
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: