阿里云 云服务器 CentOS 5.8 安装 php 5.4

1.安装php

http://webtatic.com/packages/php54/

2.安装mysql

http://webtatic.com/packages/mysql55/

3.修改mysql 密码

[shell]#mysql -u root -p

mysql>UPDATE user SET password=PASSWORD('123456') WHERE user='root';

mysql>FLUSH PRIVILEGES;

 

你可能感兴趣的:(centos)