PHP Service Assembly Summary

Source: Internet
Author: User
Tags ldap
PHP Service Installation Summary

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 can also be downloaded from the RPM resource website to the 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. View PHP Service installation--php already installed

????????? #php-V

???????? PHP 5.3.3 (CLI) (Built:may? 7 2012 19:58:17)
??????? Copyright (c) 1997-2010 the PHP Group

??? 2. View 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

????? There is no information about PHP.

????? Php:

Install PHP steps

    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 comments

?? 1 Enter the directory of the PHP RMP installation package to perform the RPM installation package for installation

?? 9 Verify that PHP is installed properly if normal installation displays the following:

????? PHP 5.3.3 (CLI) (Built:may? 7 2012 19:58:17)
?????? Copyright (c) 1997-2010 the PHP Group

  • Related Article

    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.