Install phpMyAdmin in Centos 6 - php

I am installing mysql and php on CentOS 6. While trying to install phpMyAdmin i am getting the following error on command prompt
No package phpMyAdmin available.
Nothing to do
I am following the below tutorial to install and configure my server. This is my first attempt to install and setup my server
LINK
Please guide me
Thank you

I wanted the latest version (4.0.5), not the 3.5 version in EPEL and found this information which worked perfectly for me:
rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
yum --enablerepo=remi install phpmyadmin
from http://www.if-not-true-then-false.com/2012/install-phpmyadmin-on-fedora-centos-red-hat-rhel/

Phpmyadmin isn't shipped with Centos. But there are unofficial repositories for phpmyadmin. I suggest you install the EPEL.
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm
or
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
and than install using the enablerepo flag
yum --enabledrepo=epel install phpmyadmin
At the moment the phpmyadmin package in the epel repo is not the latest version (4.0.3), but it's the most recent 3.5.x version.
A small warning: don't install phpmyadmin from the RPMforge repo. Since this repo is somewhere at version 2.
It's about two months since the questions was asked, so I don't expect to be of any use to the original question author, but there are always people visiting old questions with the same problem.

To get the packages we need, we'll have to add an additional repo to our system. The EPEL repo (Extra Packages for Enterprise Linux) contains many additional packages, including the phpMyAdmin package we are looking for.
The EPEL repository can be made available to your server by installing a special package called epel-release. This will reconfigure your repository list and give you access to the EPEL packages.
To install, just type:
sudo yum install epel-release
Now that the EPEL repo is configured, you can install the phpMyAdmin package using the yum packaging system by typing:
sudo yum install phpmyadmin

You can't find it as the directions state you need to add the package (myAdmin) to your repository first, update then install with Yum. You need to search an alternate way to add to your repo , then update ya repo, then install :)

For that you can download phpMyAdmin from here
after downloading use rpm -ivh packagename.rpm or follow your tutorial it wont show above error

You can just download phpmyadmin from here:
https://www.phpmyadmin.net/
and unzip and move to apache root directory
then you can check that in your url.

sudo yum install epel-release
-some version this command not works
To Install Phymyadmin sometimes this command not works
so use this below command
sudo amazon-linux-extras install epel

Related

Where can i find php-pgsql package for RedHat 7?

I am developing my project with
PHP 5.6.27
PostgreSQL 9.6.1
RedHat 7 OS
I had searched for the php_pgsql package everywhere.
also tried with some rpms. but still I am not able to get the package.
I developed my whole project in php_pgsql package in windows and i faced this issue when tried to shift from Windows to Linux.
please help to solve this. thank you.
In order to install that package, you'll need to remove the excluding rule for php in /etc/yum.conf.
Then install the package :
yum update
yum install php-pgsql
Hope it helps.
The accepted answer did not help me, the official link did
Install CentOS SCLo RH repository:
sudo yum install centos-release-scl-rh
Install rh-php72-php-common rpm package:
sudo yum install rh-php72-php-common
Reference: https://centos.pkgs.org/7/centos-sclo-rh-x86_64/rh-php72-php-common-7.2.24-1.el7.x86_64.rpm.html#download

Conflict when installing PHP intl extension for composer on Centos 7

I am trying to do a Magento 2 DRC installation on a remote linux server, running Centos 7, Apache 2.4.6, MariaDB and PHP v5.6.9. When I try to install Composer I get the following message:
$ cd /var/www/html/magento2 && composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-intl * is missing from your system.
I have installed ext-intl using:
yum list php*intl
and
yum install php-intl
But is still gives me the same message.
I have tried various other installations to get around the problem, to no avail. Any suggestions would be gratefully erceived as it is stalling the project.
Would it help to downgrade to PHP 5.5?
You can follow the below steps for magento2 installation on Centos 7.
http://gotechnies.com/install-magento2-centos-7/
There are few easy steps to install Magento 2(M2) on Centos Distro.
Step 1-:
First of all we need to add few EPEL repositories for the php5.6, mysql-server5.6, and phpmyadmin.
# EPEL Repository for php5.6
$ rpm -iUvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
$ rpm -iUvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
# EPEL Repository for mysql-server5.6
$rpm -iUvh http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
# EPEL Repository for phpMyadmin on Centos 7
$ rpm -iUvh http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
$ yum -y update
Step 2-:
Install Require packages like apache, php5.6, mysql-server, phpmyadmin.
$ yum install-y httpd php mysql-server phpmyadmin php56w-mcrypt php56w-intl php56w-xsl git
To allow the phpmyadmin in apache 2.4 add the line
Require all granted
Readmore go to above link
Magento2 installation on RHEL/Centos 7 with Php7.
Subscribing to the IUS Community Project Repository
Since PHP 7.x is not yet packaged in official repositories for the major distributions, we’ll have to rely on a third-party source. Several repositories offer PHP 7 RPM files. We’ll use the IUS repository.
IUS offers an installation script for subscribing to their repository and importing associated GPG keys. Make sure you’re in your home directory, and retrieve the script using curl:
curl 'https://setup.ius.io/' -o setup-ius.sh
sudo bash setup-ius.sh
Install Required Packages-:
sudo yum install -y mod_php70u php70u-cli php70u-mysqlnd php70u-json php70u-gd php70u-dom php70u-simplexml php70u-mcrypt php70u-intl httpd mysql-server git
See my Article for Complete Installation magento2-php7-centos7-mysql5.7
The extension has to be installed and activated for the command line PHP, not only for the web server PHP. If you run php -i, which is the CLI equivalent of running phpinfo(), you should see a section containing info about the "intl" extension. If this is missing, you'd also see the path to the "php.ini" file that is being used - this is where you should double check whether or not the extension is activated or not.
Most of the time, it is not.

Update Cent OS packages?

I just Installed Cent OS 6.5 and I am amazed with a few things.
Why the PHP version is only 5.3.3, MySQL 5.1.73, Apache 2.2.15?
If I run the yum commands to update them no updates are found.
Is there a reason the default installation contains so old versions and how to update them to the latest one please?
Running these two commands should install a newer version of the EPEL repo, enabling you to install a newer version of PHP, etc, but you should find the repository which has the versions which you require.
wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
rpm -ivh epel-release-6-8.noarch.rpm
Please try below
yum update php*
If you have rpm package then you can use rpm -U option to upgrade existing packages.

mbstring module install redhat apache

I have a machine with no internet access and want to install mbstring module for apache with Redhat OS
I can't use yum install, and i can't find the ./configure file that mentioned in many answers for the same question.
downloaded the rpm file and installed it but with no luck.
Can someone provide me with step by step installion for the module ?
It's located in the "optional" repo. Have your sysadmin enable this repo. This may help you a few steps further.
$ sudo yum list php-mbstring
Loaded plugins: rhnplugin This system is receiving updates from RHN Classic or RHN Satellite. Installed Packages php-mbstring.x86_64
5.3.3-23.el6_4 #rhel-x86_64-server-optional-6

Hostgator Vps 1 install yum packages

I am trying to install packages using repositories.
I have tried Webtatic and install using
rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
I then try
yum install --enablerepo=webtatic package-name
yum install cpanel-php53.x86_64
but I always get setting up install process nothing to do
How would I get php to work on this server? And also yum list install returns along list of packages do I have to do anything extra with these packages to use them
For custom rpm build, follow this guide.
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/WHMDocs/CustomBuildRpm

Categories