阿里云 云服务器 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;

 

posted @ 2014-02-19 23:33  mzer  阅读(418)  评论(0编辑  收藏  举报