请解释此错误日志 [英] please explain this error log

查看:88
本文介绍了请解释此错误日志的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在godaddy中拥有域,并且我试图在我的专用服务器中安装脚本或试图访问我的域righttimematrimony.com,它没有加载并显示错误。一次,我的网站加载并显示sci-bin文件夹,将数据上传到服务器并尝试访问我的网址后,但显示了很多错误。请有人帮助我现在该怎么办。

i have domain in godaddy and i am trying to install a script in my dedicated server or trying to access my domain righttimematrimony.com it is not loading and showing errors. one time my website loaded and shown sci-bin folder, after upload the data into server and tried to access my url, but shown lot of errors. please somebody help me what to do now.

这是在Cpanel->错误日志中发现的错误日志中的数据。

This is the data in error log found at Cpanel -> Error Log.

[Mon Dec 29 04:14:23 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:23 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:05 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:05 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:03 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:03 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:01 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:01 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:13:57 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:13:57 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:58 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:58 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:50 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:50 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:43 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:43 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:04:13 2014] [error] [client 106.66.138.199] File does not exist: /home/right/public_html/403.shtml, referer: http://righttimematrimony.com/
[Mon Dec 29 04:04:13 2014] [error] [client 106.66.138.199] attempt to invoke directory as script: /home/right/public_html/cgi-bin/, referer: http://righttimematrimony.com/
[Mon Dec 29 04:04:08 2014] [error] [client 106.66.138.199] File does not exist: /home/right/public_html/404.shtml
[Mon Dec 29 04:04:08 2014] [error] [client 106.66.138.199] File does not exist: /home/right/public_html/favicon.ico
[Mon Dec 29 04:04:00 2014] [error] [client 106.66.138.199] File does not exist: /home/right/public_html/404.shtml
[Mon Dec 29 04:04:00 2014] [error] [client 106.66.138.199] File does not exist: /home/right/public_html/favicon.ico


推荐答案

看看此链接: http://forums.cpanel.net/f5/invalid-command-php_value-也许是-mis-spelled-defined-module-not-included-184931.html


您正在使用suPHP,因此您不能在.htaccess文件中使用以下指令:php_flag,php_admin_flag,php_value,php_admin_value。您也不能在httpd.conf文件中使用这些指令。它们仅在将DSO用作PHP处理程序时才有效。

You are using suPHP, so you cannot use the following directives in .htaccess files: php_flag, php_admin_flag, php_value, php_admin_value. You also cannot use these directives in the httpd.conf file; they are only valid when DSO is used as the PHP handler.

相反,请使用自定义php.ini文件。将/usr/local/lib/php.ini复制到需要自定义PHP值的目录,然后在本地 php.ini文件中自定义PHP值。请注意,自定义php.ini文件中的值未继承到子目录。如果将自定义php.ini文件放在/ home / someuser / public_html中,则/ home / someuser / public_html / somesubdir不会继承其设置。 / home / someuser / public_html / somesubdir将需要其自己的自定义php.ini文件。

Instead, use a custom php.ini file. Copy /usr/local/lib/php.ini to the directory that requires custom PHP values, and customize the PHP values in the "local" php.ini file. Note that the values in custom php.ini files are not "inherited" to subdirectories. If you place a custom php.ini file in /home/someuser/public_html, its settings will not be inherited by /home/someuser/public_html/somesubdir. /home/someuser/public_html/somesubdir would need its own custom php.ini file.

这篇关于请解释此错误日志的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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