zoukankan      html  css  js  c++  java
  • IIS 500 – 内部服务器错误解决方案

    最近装了测试机windows2008使用IIS7.5各种不习惯呀,各种问题,唉。。 今天又遇到了“500 – 内部服务器错误。 您查找的资源存在问题,因而无法显示。”的问题,网上查找了一下,找到解决办法,这里给大家分享一下。。

    解决办法:

    1、解决方法:打开IIS,在功能视图中找到“错误页”,双击进去后,看最右边的“操作”下的“编辑功能设置…”,将“错误响应”下的“详细错误”勾上。

    2、打开控制面板→管理工具→Internet 信息服务(IIS)管理器→双击“ASP”图标,然后在右边的窗口中展开“调试属性”,把“将错误发送到浏览器”设为True即可。微软基于安全性考虑不将错误信息发送给浏览器,记得在网站正式发布时,还原此项设置。

    3、本地浏览器去掉了“显示http友好错误提示”选项,显示:php-cgi.exe - FastCGI 进程超过了配置的活动超时时限

    4、解决办法:IIS7->FastCGI设置->双击"php-cgi.exe"->"活动超时" 项默认是设置为70(秒),改为600(10分钟,此处根据需求设置可以略高~)

    转载自 http://www.waitalone.cn/iis-500-internal-server-error-solution.html

    今天我在腾讯云里安装了阿里云的一键安装PHP环境后 新建立的网站访问时出现500错误,采用 解决办法<1>;

     之后又出现

    HP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. ......的错误页

    然后使用http://blog.csdn.net/21aspnet/article/details/6998718 

     中的方法问题得到解决

    在写php程序中有时会出现这样的警告:
    PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in D:PHPWEB ewsfile.php on line 17 。这是因为PHP所取的时间是格林威治标准时间,所以和你当地的时间会有出入格林威治标准时间和北京时间大概差8个小时左右,我们可以按照下面的方法解决: 
    1、在页头使用date_default_timezone_set()设置我的默认时区为北京时间,即 <?php date_default_timezone_set("PRC"); ?>就可以了。 
    2、在php.ini中设置date.timezone的值为PRC,设置好以后的为:date.timezone=PRC,同时取消这一行代码的注释,即去掉前面的分号就可以了。
     
  • 相关阅读:
    idea websitehttp://www.youyur.com/
    chromium project相关页面
    WebKit Remote Debugging
    天兰尾货
    GitCookbook from google chromium
    ocr识别
    Google发布Chrome官方扩展DOM Snitch 可发现网页代码漏洞
    WebKit2 High Level Document ¶
    Phantom JS: an alternative to Selenium
    Python Extension
  • 原文地址:https://www.cnblogs.com/farcall/p/3855098.html
Copyright © 2011-2022 走看看