PHP service Assembly Summary

Source: Internet
Author: User
PHP service installation summary system environment information CentOSrelease6.3 (Final) VMware? Workstation9.0.0build-812388rpm installation package preparation ????? 1. Copy the following installation package from the CD to the specified directory ????? 2. you can also download the file from the RPM resource website to your local environment ?????? Summary of rpmfind.net PHP service installation

System Environment Information

  • CentOS release 6.3 (Final)
  • VMware? Workstation 9.0.0 build-812388

Rpm installation package preparation

????? 1. Copy the following installation package from the CD to the specified directory.

????? 2. you can also download the file from the RPM resource website to your local environment.

???? ? ? Http://rpmfind.net/linux/

???? Php-common-5.3.3-3.el6_2.8.i686.rpm
???? Php-cli-5.3.3-3.el6_2.8.i686.rpm
???? Php-5.3.3-3.el6_2.8.i686.rpm
???? Php-pdo-5.3.3-3.el6_2.8.i686
???? Php-mysql-5.3.3-3.el6_2.8.i686.rpm
???? Php-xml-5.3.3-3.el6_2.8.i686.rpm
???? Php-ldap-5.3.3-3.el6_2.8.i686.rpm

????? Directory name

  • /Usr/dev/php

Remove the original php service

  1. ? Check the php service installation status-php has been installed

????????? # Php-v

???????? PHP 5.3.3 (cli) (built: May? 7 2012 19:58:17)
??????? Copyright (c) 1997-2010 The PHP Group

??? 2. check php rpm installation

??????? # Rpm-qa | grep php
??????? Php-cli-5.3.3-3.el6_2.8.i686
??????? Php-xml-5.3.3-3.el6_2.8.i686
??????? Php-pdo-5.3.3-3.el6_2.8.i686
??????? Php-common-5.3.3-3.el6_2.8.i686
??????? Php-mysql-5.3.3-3.el6_2.8.i686
??????? Php-ldap-5.3.3-3.el6_2.8.i686
??????? Php-5.3.3-3.el6_2.8.i686

??? 3. remove php in the following order

??????? # Rpm e php-5.3.3-3.el6_2.8.i686

??????? # Rpm e php-ldap-5.3.3-3.el6_2.8.i686

??????? # Rpm e php-mysql-5.3.3-3.el6_2.8.i686

??????? # Rpm e php-cli-5.3.3-3.el6_2.8.i686

??????? # Rpm e php-pdo-5.3.3-3.el6_2.8.i686

??????? # Rpm e php-xml-5.3.3-3.el6_2.8.i686

??????? # Rpm e php-common-5.3.3-3.el6_2.8.i686

?? 4. verification

????? # Whereis php

????? No php information

????? Php:

Install php

  1. # Cd/usr/dev/php
  2. # Rpm-ivh php-common-5.3.3-3.el6_2.8.i686.rpm
  3. # Rpm-ivh php-cli-5.3.3-3.el6_2.8.i686.rpm
  4. # Rpm-ivh php-5.3.3-3.el6_2.8.i686.rpm
  5. # Rpm-ivh php-pdo-5.3.3-3.el6_2.8.i686.rpm
  6. # Rpm-ivh php-mysql-5.3.3-3.el6_2.8.i686.rpm
  7. # Rpm-ivh php-xml-5.3.3-3.el6_2.8.i686.rpm
  8. # Rpm-ivh php-ldap-5.3.3-3.el6_2.8.i686.rpm
  9. # Php-v

Command comment

?? 1. enter the Directory of the php rmp installation package to execute the rpm installation package for installation.

?? 9. verify that php is properly installed. if it is properly installed, the following content is displayed:

????? PHP 5.3.3 (cli) (built: May? 7 2012 19:58:17)
?????? Copyright (c) 1997-2010 The PHP Group

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.