标签:service oracle mysql start 程序
1、环境介绍
os:oracle centos 5.9
apache:httpd-2.2.3-74.0.1.el5
php:php53-5.3.3-13.el5_8
mysql:mysql-server-5.0.95-3.el5
2、安装过程
# yum install -y httpd # service httpd start # yum install -y mysql-server # service mysqld start # yum install -y php53 # yum -y install php53-mysql
3、环境验证
<?php phpinfo(); ?>
<?php $conn=mysql_connect(‘localhost‘,‘root‘,‘‘); if($conn) echo "sucess"; else echo "false"; ?>
4、部署PHP程序
#cp phpMyAdmin-3.4.3.2-all-languages.tar.bz2 /var/www/html #tar jxvf phpMyAdmin-3.4.3.2-all-languages.tar.bz2 #mv phpMyAdmin-3.4.3.2-all-languages.tar.bz2 phpadmin
本文出自 “小小鸟你妈” 博客,请务必保留此出处http://xiaoxiaoniao.blog.51cto.com/8727225/1431529
centos5.9使用RPM包搭建lamp平台,布布扣,bubuko.com
标签:service oracle mysql start 程序
原文地址:http://xiaoxiaoniao.blog.51cto.com/8727225/1431529