的.htaccess产生500内部服务器错误 [英] .htaccess produces 500 Internal Server Error

查看:188
本文介绍了的.htaccess产生500内部服务器错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

的.htaccess的含量是:

The content of .htaccess is:

php_value upload_max_filesize 64M

作品在本地主机上,螺丝每隔托管服务器上我把它上传到。
error.log中说:无效的命令'php_value,也许是拼写错误或者不包含在服务器配置的模块定义

Works on localhost, screws up every hosting server I upload it to. The error.log says: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration

有另一种方式来改变的upload_max_filesize?

Is there another way to change the upload_max_filesize?

推荐答案

问题是托管服务提供商,他们只允许通过的php.ini改变这种

The problem was the hosting provider, they only allow changing this via php.ini

这篇关于的.htaccess产生500内部服务器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆