This question already has answers here:
How to install PHP mbstring on CentOS 6.2
(11 answers)
Closed 6 years ago.
I am trying to host phpmyadmin on my server.
I have centos 6.8 but when i load the phpmyadmin it shows 500 error.
I went to error log to check the error and I found this error:
Fatal error: Call to undefined function mb_detect_encoding() in
/var/www/html/phpMyAdminDlc/libraries/php-gettext/gettext.inc
So now I am trying to install mbstring using command
#yum install php-mbstring
But I get error
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.daniel-jost.net
* epel: mirror.daniel-jost.net
* extras: mirror.daniel-jost.net
* updates: mirror.daniel-jost.net
* webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-mbstring.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-48.el6_8 for package: php-mbstring-5.3.3-48.el6_8.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Conflict: php55w-common-5.5.38-1.w6.x86_64 conflicts php-common < 5.5
--> Finished Dependency Resolution
Error: php55w-common conflicts with php-common-5.3.3-48.el6_8.x86_64
You could try using --skip-broken to work around the problem
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
cronie-1.4.4-15.el6_7.1.x86_64 has missing requires of /usr/sbin/sendmail
redhat-lsb-core-4.0-7.el6.centos.x86_64 has missing requires of /usr/sbin/sendmail
I cannot install php-mbstring.Am I missing something?
Try with this:
yum --enablerepo=remi install php-mbstring
Afterthat restart the apache server
Refer:How to install PHP mbstring on CentOS 6.2
http://php.net/manual/en/mbstring.installation.php
Related
I'm new to centOs.
Im about to use PHP laravel composer and when I perform
composer update
it's got an error requires ext-gd
then I perform
yum install php-gd
then its result an error again that it requires libXrpm
like this,
Error: Package: php71w-gd-7.1.9-2.w6.x86_64 (webtatic)
Requires: libXpm.so.4()(64bit)
but when I perform
yum install libXpm
the result is no package available like this
No package libXpm available.
Error: Nothing to do
FYI I'm using CentOS release 6.9 (Final)
what should I do?
I was trying to take schema backup with the help of pg_dump but it is failing with the following error.
# pg_dump -hq2vy.us-east-1.rds.amazonaws.com -U username -n schema > ouput.sql
pg_dump: server version: 9.3.14; pg_dump version: 9.2.18
pg_dump: aborting because of server version mismatch
The installed version architecture is
rpm -qa | grep postgresql93*
postgresql92-libs-9.2.18-1.59.amzn1.x86_64
So I tried to install the x64 version but also failed with the following error
# yum install postgresql93-9.3.14-1.62.amzn1.x86_64
Loaded plugins: priorities, update-motd, upgrade-helper
Resolving Dependencies
--> Running transaction check
---> Package postgresql93.x86_64 0:9.3.14-1.62.amzn1 will be installed
--> Processing Dependency: postgresql93-libs(x86-64) = 9.3.14-1.62.amzn1 for package: postgresql93-9.3.14-1.62.amzn1.x86_64
--> Running transaction check
---> Package postgresql93-libs.i686 0:9.3.14-1.62.amzn1 will be updated
---> Package postgresql93-libs.x86_64 0:9.3.14-1.62.amzn1 will be installed
---> Package postgresql93-libs.i686 0:9.3.17-1.63.amzn1 will be an update
--> Finished Dependency Resolution
Error: Multilib version problems found. This often means that the root
cause is something else and multilib version checking is just
pointing out that there is a problem.
Can somebody help?
I have fixed it by installing the package postgresql93.x86_64
CentOS 7.2 is my OS
I installed 1.27 geany from EPEL Repo. It was successful, and then I just tried to double click the geany plugins rpms to add them one by one which was successful when I did in CentOS 6.7, but it failed.
Then I tried terminal:(debugger plugin in this example)
[root#localhost geany-plugins]# yum install geany-plugins-debugger-1.27-1.el7.centos.x86_64.rpm
Loaded plugins: fastestmirror, langpacks
Examining geany-plugins-debugger-1.27-1.el7.centos.x86_64.rpm: geany-plugins-debugger-1.27-1.el7.centos.x86_64
Marking geany-plugins-debugger-1.27-1.el7.centos.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package geany-plugins-debugger.x86_64 0:1.27-1.el7.centos will be installed
--> Processing Dependency: geany-plugins-common = 1.27-1.el7.centos for package: geany-plugins-debugger-1.27-1.el7.centos.x86_64
Loading mirror speeds from cached hostfile
* base: mirrors.syringanetworks.net
* epel: mirror.prgmr.com
* extras: mirror.pac-12.org
* updates: mirrors.usc.edu
--> Finished Dependency Resolution
Error: Package: geany-plugins-debugger-1.27-1.el7.centos.x86_64 (/geany-plugins-debugger-1.27-1.el7.centos.x86_64)
Requires: geany-plugins-common = 1.27-1.el7.centos
Installed: geany-plugins-common-1.27-1.el7.x86_64 (#epel)
geany-plugins-common = 1.27-1.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
It requires geany-plugins-common and it then lists the exact thing as installed
What is the problem?
First off please dont instantly down vote as i am not experienced with building and running distributions via the command line its all foreign to me i am learning.
I have a server running on Centos 6 and i am trying to download and install a library called soundtouch.
here: http://pkgs.org/centos-6/epel-i386/soundtouch-devel-1.5.0-1.el6.i686.rpm.html
and here: http://www.surina.net/soundtouch/
I run
yum install soundtouch
and it runs and seems to install correctly
yum install soundtouch
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: mirror.atlanticmetro.net
* epel: mirror.symnds.com
* extras: mirror.cogentco.com
* updates: mirror.rackspace.com
489 packages excluded due to repository priority protections
Setting up Install Process
Package soundtouch-1.5.0-1.el6.x86_64 is obsoleted by libsoundtouch-1.7.1-1.el6.x86_64 which is already installed
Nothing to do
But when i try to run the command
which soundtouch
/usr/bin/which: no soundtouch
or
soundtouch
-bash: soundtouch: command not found
And i check my /usr/bin/ folder and its not there? Can someone please advise where i am going wrong.
Thanks You
You did not install soundtouch package, yum is telling you that this package is obsoleted by libsoundtouch. You can check which files belong to that package:
rpm -ql libsoundtouch
When installing freenx server problem, complaining that there is no /usr/lib64/nx.
Established as follows:
> yum install nx freenx
But in the console log:
[root#q182 ~]# yum install nx freenx
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.netcologne.de
* epel: mirror.imt-systems.com
* extras: mirror.netcologne.de
* rpmforge: mirror1.hs-esslingen.de
* updates: mirror.netcologne.de
Setting up Install Process
Package nx-3.5.0-2.1.el6.centos.x86_64 already installed and latest version
Package freenx is obsoleted by freenx-server, trying to install freenx-server-0.7.3-18.el6.x86_64 instead
Resolving Dependencies
--> Running transaction check
---> Package freenx-server.x86_64 0:0.7.3-18.el6 will be installed
--> Processing Dependency: /usr/lib64/nx for package: freenx-server-0.7.3-18.el6.x86_64
--> Processing Dependency: /usr/lib64/nx for package: freenx-server-0.7.3-18.el6.x86_64
--> Finished Dependency Resolution
Error: Package: freenx-server-0.7.3-18.el6.x86_64 (atrpms)
Requires: /usr/lib64/nx
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root#q182 ~]#
Just add --enablerepo=atrpms-bleeding to your yum command and the nx dependency will install from there.