评论列表
北京
2018-09-11 09:38:44
回复
能提供一下,nginx的配置吗?我在docker上的配置,报500错误。感谢
server {
listen 80;
rewrite_log on;
server_name www.lchandao.com;
location / {
root /home/devops/workspace/chandao/zentaopro/www;
index index.php;
try_files $uri $uri/ /index.php?$args;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location ~ \.php$ {
root /home/devops/workspace/chandao/zentaopro/www;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $request_uri;
include fastcgi_params;
}
}
🍟
王春生 回复 北京
2018-09-14 09:50:32
回复
可以用GET方式访问。具体看一下nginx的错误日志。
Ankyliu
2016-08-18 15:02:36
回复
找到一个笔误:1. web server好是apache
应该是:1. web server最好是apache
🍟
王春生 回复 Ankyliu
2016-08-19 08:18:37
回复
谢谢指正,已经修改。
apache
2016-04-01 14:47:51
回复
apache的版本有限制没?
🍟
王春生 回复 apache
2016-04-05 08:08:51
回复
没有限制。
php7
2015-12-28 12:00:14
回复
你的php版本太高了,官方只支持f十年前的php5.3
🍟
王春生 回复 php7
2015-12-28 15:30:25
回复
我们是最低要求5.2,php7可以运行,没有问题。
Zentaouser
2015-04-24 13:43:01
回复
在windows下进行安装时报500 Interval错误,查看apache错误日志,提示 ‘.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration’错误,请问如何解决(采用一键安装包安装的集成环境)
上一页
1
1/1
下一页
登录
server {
listen 80;
rewrite_log on;
server_name www.lchandao.com;
location / {
root /home/devops/workspace/chandao/zentaopro/www;
index index.php;
try_files $uri $uri/ /index.php?$args;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location ~ \.php$ {
root /home/devops/workspace/chandao/zentaopro/www;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $request_uri;
include fastcgi_params;
}
}
应该是:1. web server最好是apache