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
Remove the original php service
- ? 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
- # Cd/usr/dev/php
- # Rpm-ivh php-common-5.3.3-3.el6_2.8.i686.rpm
- # Rpm-ivh php-cli-5.3.3-3.el6_2.8.i686.rpm
- # Rpm-ivh php-5.3.3-3.el6_2.8.i686.rpm
- # Rpm-ivh php-pdo-5.3.3-3.el6_2.8.i686.rpm
- # Rpm-ivh php-mysql-5.3.3-3.el6_2.8.i686.rpm
- # Rpm-ivh php-xml-5.3.3-3.el6_2.8.i686.rpm
- # Rpm-ivh php-ldap-5.3.3-3.el6_2.8.i686.rpm
- # 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