- 积分
- 6
- 威望
-
- 金钱
-
- 注册时间
- 2011-4-26
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
1.PHPMYADMIN正常访问,但PUREFTP客户端ftp在访问时出现"504 gateway time-out" ,不如为何,但配置已修改过了,如下:
include mime.types;
default_type application/octet-stream;
server_names_hash_bucket_size 128;
client_header_buffer_size 32k;
large_client_header_buffers 1 128k;#4 32k;
client_max_body_size 50m;
sendfile on;
tcp_nopush on;
keepalive_timeout 60;
tcp_nodelay on;
fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
fastcgi_buffer_size 128k;#64k;
fastcgi_buffers 2 256k;#4 64k;
fastcgi_busy_buffers_size 256k;#128k;
fastcgi_temp_file_write_size 256k;
gzip on;
gzip_min_length 1k;
gzip_buffers 1 64k;#4 16k;
gzip_http_version 1.0;
gzip_comp_level 2;
gzip_types text/plain application/x-javascript text/css application/xml;
gzip_vary on;
#limit_zone crawler $binary_remote_addr 10m;
2、在安装完lnmp后,查看phpinfo,发现php运行方式是fast-cgi,但再安装apache支持后PHP运行方式变为APACHE2HANDLER ,不知是不是正常?
3、用lnmpa status查看lnmpa状态时,不知这里面的nginx为何会出现access forbidden,如下所示:
=========================================================================
Manager for LNMPA V0.7 , Written by Licess
=========================================================================
LNMPA is a tool to auto-compile & install Nginx+MySQL+PHP+Apache on Linux
This script is a tool to Manage status of LNMPA
For more information please visit http://www.lnmp.org
Usage: /root/lnmpa {start|stop|reload|restart|kill|status}
=========================================================================
Nginx is runing!
Access forbidden!
You don't have permission to access the requested object. It is either
read-protected or not readable by the server.
If you think this is a server error, please contact the [1]webmaster.
Error 403
[2]localhost
Thu Apr 28 20:36:39 2011
Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.2.17
References
1. mailto:admin@app.com
2. http://localhost/
* MySQL running (13600)
以上几个问题请军哥或其他兄弟指点明示,谢谢 |
|