.htaccess错误,在修改php配置时

编程入门 行业动态 更新时间:2024-10-27 13:29:12
本文介绍了.htaccess错误,在修改php配置时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如果此发布位置不正确,请进行迁移

If this is not posted in correct place, please migrate it

我将.htaccess文件保存在 public_html 根目录下的文件夹。当我查看该网站时,它给出了服务器配置错误。

I kept a .htaccess file in my public_html folder inside the root. When I view the website it is giving server misconfiguration error.

我的.htaccess文件仅包含此文件

my .htaccess file contains this only

php_value upload_max_filesize 100M php_value post_max_size 100M

我想知道是什么可能是错误的。任何想法

I wonder what may be wrong. Any Ideas

我的错误日志

[Mon Jun 07 17:06:23 2010] [alert] [client 113.199.221.198] /home/wwwcomr/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration [Mon Jun 07 17:04:46 2010] [alert] [client 113.199.221.198] /home/wwwcomr/public_html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration

推荐答案

Shrapnel上校说:错误日志是

What Col. Shrapnel says: The error log is the only place to get reliable information.

重新更新:

PHP需要以Apache身份运行 php_value 模块工作。 来源

PHP needs to be running as an Apache module for php_value to work. Source

更多推荐

.htaccess错误,在修改php配置时

本文发布于:2023-10-31 17:16:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1546751.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   htaccess   php

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!