Install php5.5 + MySQL5.5.32 _ PHP on centos

Source: Internet
Author: User
Tags mysql commands
Install php5.5 + MySQL5.5.32 on centos. If you directly use yuminstall to install php in centos, the version is relatively low. if you need a higher version, see: Step 1: installingRemiRepository # InstallRemiEpelRepositoryo has a relatively low version when directly using yum install to install php in centos. if you need a higher version, see the following:

Step 1: Installing Remi Repository
## Install Remi & Epel Repository on RHEL/CentOS 6.4-6.0 - 32 Bit ##rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpmrpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm ## Install Remi & Epel Repository on RHEL/CentOS 6.4-6.0 - 64 Bit ##rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmrpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm ## Install Remi Repository on RHEL/CentOS 5.9-5.0 - 32 Bit ##rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpmrpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm## Install Remi Repository on RHEL/CentOS 5.9-5.0 - 64 Bit ##rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpmrpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
Step 2: Installing Apache, MySQL 5.5.32 & PHP 5.5.0
## Installing on RHEL/CentOS 5-6 ### yum --enablerepo=remi,remi-test install httpd mysql mysql-server php php-common
Step 3: Installing PHP 5.5.0 Modules
## Installing on RHEL/CentOS 5-6 ### yum --enablerepo=remi,remi-test install php-mysql php-pgsql php-pecl-mongo php-sqlite 
php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml php-pecl-apc php-cli
php-pear php-pdo
Step 4: Starting/Stopping Apache & MySQL 5.5.32
# Enable Apache and MySQL on Run-Levels### Chkconfig -- levels 235 httpd on # chkconfig -- levels 235 mysqld on# Apache Commands ###/Etc/init. d/httpd start #/etc/init. d/httpd stop #/etc/init. d/httpd status# MySQL Commands ###/Etc/init. d/mysqld start #/etc/init. d/mysqld stop #/etc/init. d/mysqld status
Now, there are a lot of online information such as configuration testing !!!
This article introduces Install Apache, MySQL 5.5.32 & PHP 5.5.0 on RHEL/CentOS 6.4/5.9 & Fedora 19-12

If you need a higher version, see Step 1: Installing Remi Repository # install Remi Epel Repository o...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.