mysql+nginx+php
来源:互联网 发布:java jvm面试题 编辑:程序博客网 时间:2024/05/17 17:55
另参:http://www.cnblogs.com/xiaoluo501395377/archive/2013/04/07/3003278.html
预备:
查看mysql版本:mysql --version
查看nginx版本:
linux下mysql安装:
1、源代码安装包下载:http://dev.mysql.com/downloads/mysql/5.1.html#current-tab
2、ln -s mysql-5.1.73-linux-x86_64-glibc23 mysql//软连接
3、cd mysql
4、groupadd mysql
5、
chown -R mysql:mysql ./
6.
./mysqladmin -u root password wjjcsb //修改root密码
insert into mysql.user(Host,User,Password) values('%','sujian',password('sj123'));//命令行创建用户
./php-fpm
[09-Jul-2015 11:06:40] ERROR: failed to open configuration file '/usr/local/php/etc/php-fpm.conf': No such file or directory (2)
[09-Jul-2015 11:06:40] ERROR: failed to load configuration file '/usr/local/php/etc/php-fpm.conf'
[09-Jul-2015 11:06:40] ERROR: FPM initialization failed
[root@iZ25jw3825lZ sbin]#
[root@iZ25jw3825lZ sbin]#
[root@iZ25jw3825lZ sbin]# pwd
/usr/local/php/sbin
[root@iZ25jw3825lZ sbin]#
[root@iZ25jw3825lZ sbin]#
[root@iZ25jw3825lZ sbin]#
[root@iZ25jw3825lZ sbin]# cd ../etc/
[root@iZ25jw3825lZ etc]# ls
pear.conf php-fpm.conf.default
[root@iZ25jw3825lZ etc]# cp php-fpm.conf.default php-fpm.conf
[root@iZ25jw3825lZ etc]#
[root@iZ25jw3825lZ etc]#
[root@iZ25jw3825lZ etc]#
[root@iZ25jw3825lZ etc]# ../sbin/php-fpm
- CentOS+Nginx+PHP+Mysql
- Nginx PHP Mysql
- php+nginx+mysql安装
- Nginx+Memcached+mysql+php
- centos php + mysql + nginx
- 安装Nginx+PHP+Mysql
- Nginx PHP Mysql
- centos php + mysql + nginx
- CentOs + Nginx + PHP + MySQL
- Mint+Nginx+Mysql+php
- Linux+nginx+php+mysql
- Nginx+PHP+mysql
- linux+nginx+php+mysql
- ubuntu nginx + php + mysql
- mysql+nginx+php
- nginx php mysql 安装
- Nginx+PHP+mysql
- Nginx+PHP+MySQL
- linux stat系统调用,获取文件信息。
- C语言内存分析
- spring mvc 2.5.6配置
- 窗口和线程漫谈之工作线程如何将数据的处理结果显示到窗口
- Linux Shell 通配符、元字符、转义符使用实例介绍
- mysql+nginx+php
- Delphi皮肤资源网站收集
- 支付宝钱包系统架构内部剖析(架构图)
- 2015湖南省选集训DAY5——work(BZOJ4177)
- ANUSPLIN Vrsn 4.4
- ios navigationcontroller 返回按钮标题动态更改
- mysql开发之---每日一得01
- Windows上搭建Eclipse的Hadoop调试环境
- Android淡入淡出欢迎界面