我的解决方法:

1. 修改根目录的php.ini为php5.ini
2. php5.ini中max_input_time改成300,同时在最后添加上 cgi.fix_pathinfo = 1
3. magento目录下.htaccess添加Options -MultiViews  (也就是去掉前面的井号)

php5.ini

register_globals = off
allow_url_fopen = offexpose_php = Off
max_input_time = 300  // 修改
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="; Only uncomment zend optimizer lines if your application requires Zend Optimizer support;[Zend]
;zend_optimizer.optimization_level=15
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
;zend_extension=/usr/local/Zend/lib/Optimizer-3.3.3/ZendExtensionManager.so
;zend_extension_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3/ZendExtensionManager_TS.so; -- Be very careful to not to disable a function which might be needed!
; -- Uncomment the following lines to increase the security of your PHP site.;disable_functions = "highlight_file,ini_alter,ini_restore,openlog,passthru,
;             phpinfo, exec, system, dl, fsockopen, set_time_limit,
;                     popen, proc_open, proc_nice,shell_exec,show_source,symlink"cgi.fix_pathinfo = 1  // 添加
memory_limit = 256M  // 添加
max_execution_time = 18000  // 添加magic_quotes_gpc = off  // 添加
flag session.auto_start = off  // 添加
zlib.output_compression = on  // 添加
suhosin.session.cryptua = off  // 添加
zend.ze1_compatibility_mode = off  // 添加
extension=mcrypt.so  // 添加

.htaccess

// ....Options -MultiViews //修改-删除全面的 #号// ...// 添加
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteRule ^.+.php$ /bogusfileRewriteBase /

完全参考地址: http://www.magentocommerce.com/wiki/groups/227/error/no_input_file_specified

A common error, which usually comes up if you’re hosted by GoDaddy, is the no input file specified error.

Try this first: add this to your .htaccess file

RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f
RewriteRule ^.+.php$ /bogusfile

Then try to reload your setup page.

If you do not have Magento setup in the root of your server, make sure to add the following to your .htaccess file.

RewriteBase /yourbasepath/

Once that is verified, there are a couple things you can do to fix this, but we’ll start with the one that usually works.

In your web root directory, there should be a file called php.ini . Rename this to php5.ini .

If there is no php5.ini file. Create the file and upload it to your root directory.

If that doesn’t work, add the following to the end of your newly renamed php5.ini file:

cgi.fix_pathinfo = 1

And if you’re still getting the error, add the following to the top of your .htaccess file:

Options -MultiViews

The first one usually does the trick. If you don’t see this file in there, then create a blank php5.ini file add add the line listed on the second suggestion.

If all of the above has not worked, KEEP your changes, wait exactly 24 hours. Go back to youraddress.tld/downloader and try again. You may just be cached and for some reason it takes a bit longer then I was used to. Keep your chin up!

If nothing above worked, call GoDaddy up and have them either rename this for you, or make sure you’re on PHP 5.

或者试试:

RewriteRule ^index.php/(.*)$ [L] 

源自:http://stackoverflow.com/a/19449172/4484798

Magento报错“No Input File Specified”的解决方法相关推荐

  1. CMAKE编译报错 linker input file unused because linking not done

    CMakeLists编译报错linker input file not found 解决办法:add_compile_options(-std=c++11 -o) 删掉 -o 原始CMakeLists ...

  2. 解决PHP报错No input file specified

    原文链接:解决PHP报错No input file specified No Input File Specified 说明没有找到要执行的php文件路径,由SCRIPT_FILENAME参数传递. ...

  3. window下phpstudy用nginx报错No input file specified. nginx日志The filename, directory name, or volum label

    window下phpstudy使用nginx服务报错No input file specified. 但是反复检查路径都是正确没有问题, 切换成Apache时同样的路径有可以正常访问. 遂打开phps ...

  4. readxl包导入excel报错Error: `path` does not exist解决方法

    readxl包导入excel报错Error: `path` does not exist解决方法 方法1:File - import dataset - from excel 方法2:检查语法错误 正 ...

  5. 关于nmonanalyser报错“输入超出文件尾”的解决方法

    关于nmonanalyser报错"输入超出文件尾"的解决方法   运行环境:nmonanalyserV4.7   原因分析:   这个是工具的VBA宏报错,原因是*.nmon文件中 ...

  6. 【笔记】虚拟机用Xshell登陆报错“ssh服务器拒绝了密码”解决方法

    [笔记]虚拟机用Xshell登陆报错"ssh服务器拒绝了密码"解决方法 参考文章: (1)[笔记]虚拟机用Xshell登陆报错"ssh服务器拒绝了密码"解决方法 ...

  7. eclipse中同步代码PULL报错checkout conflict with files的解决方法

    eclipse中同步代码PULL报错checkout conflict with files的解决方法 参考文章: (1)eclipse中同步代码PULL报错checkout conflict wit ...

  8. 手机系统安装打印机服务器错误代码,OKI打印机报错?各型号代码故障解决方法...

    原标题:OKI打印机报错?各型号代码故障解决方法 这一期干货贴邀请大家一起看看OKI打印机常见报错代码↓↓↓ 1.报错代码 610/611/612/613 黄色/品红色/青色/黑色碳粉盒未安装 产生原 ...

  9. DeepFaceLab报错,CUDA driver is insufficient 解决方法!

    DeepFaceLab报错,CUDA driver is insufficient 解决方法! 参考文章: (1)DeepFaceLab报错,CUDA driver is insufficient 解 ...

最新文章

  1. 【Network Security!】关于DDOS攻击的现状分析与探索
  2. BetterAndBetter(BAB)的使用详解
  3. 嵌入式linux学习
  4. 米尔顿-艾瑞克森的催眠引导词
  5. SaaS应用“正益工作”发布,为大中型企业轻松构建移动门户
  6. [转]如何有效地记忆与学习
  7. Python(十七):python的编程规范、PEP8
  8. H3C UniServer R6900 G3 服务器介绍
  9. 深度剖析5种最常见的指数估值算法
  10. 几何光学学习笔记(20)- 5.3视场光阑
  11. Linux 云服务器aircrack-ng后台跑包并用邮件发送结果
  12. 蓝海卓越无线运营方案简述
  13. 高性能计算基准测试程序(二)--MPI测试基准
  14. c++、python实现置换密码(栅栏技术,列置换)、替代密码(加法密码(Caesar密码),乘法密码)
  15. SVM学习总结(三)SMO算法流程图及注释源码
  16. 曾国藩:读书、交友、处事、养性,都在这里了
  17. Vue视频插件vue-video-player的使用
  18. 请问一下我这里显示非法字符是哪里出问题哎
  19. 0623_第二篇瞎嘀咕
  20. 综合隧道广播通信与调度系统应用于南昌市青山湖、滕王阁、洛阳路隧道

热门文章

  1. 爬楼梯(信息学奥赛一本通-T1204)
  2. 41 WM配置-作业-定义打印控制
  3. 1 MM配置-企业结构-定义-定义评估级别
  4. 14 FI配置-财务会计-定义未结清过帐期间变式
  5. php+loaction+框架,【集锦】nginx【php,location,alias,504】
  6. java停启was集群_shell脚本实现weblogic 节点启停,应用部署
  7. python字符串描述_Python字符串
  8. np.unique( )--去除数组中的重复数字,并进行排序之后输出
  9. IE低版本(6-9)CSS hack
  10. oracle查询两个分区,oracle下 分区表部分分区查询慢有关问题(2)