qyuan1991 发表于 2012-12-1 04:54:34

军哥,lnmp0.9版本安装magento怎么404错误啊?

网站地址:www.ibaigo.com

安装前检测文件:http://www.ibaigo.com/magento-check.php


安装检测文件说mysql需要4.1.20以上版本,可是lnmp0.9的mysql是4.1.60版本的啊!

求解!~

licess 发表于 2012-12-1 08:36:53

可能是需要伪静态

lnmp0.9的mysql是5.1.60

按提示把shell_exec 这禁用函数去掉

如果按lnmp是没有选上innodb的话应该是无法安装的

yeuss 发表于 2012-12-10 21:33:24

找到虚拟机的配置文件


location ~ .*\.(php|php5)?$

{

try_files $uri =404;

fastcgi_passunix:/tmp/php-cgi.sock;

fastcgi_index index.php;

include fcgi.conf;

}

替换成


location ~ .*\.(php|php5)

{

fastcgi_passunix:/tmp/php-cgi.sock;

fastcgi_index index.php;

include fcgi.conf;

set $path_info "";

set $real_script_name $fastcgi_script_name;

if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$") {

set $real_script_name $1;

set $path_info $2;

}



这样应该就可以了,我以前这样安装过,你可以试下











原帖由 qyuan1991 于 2012-12-1 04:54 发表 https://bbs.vpser.net/images/common/back.gif
网站地址:www.ibaigo.com

安装前检测文件:http://www.ibaigo.com/magento-check.php


安装检测文件说mysql需要4.1.20以上版本,可是lnmp0.9的mysql是4.1.60版本的啊!

求解!~ ...
页: [1]
查看完整版本: 军哥,lnmp0.9版本安装magento怎么404错误啊?