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:PHPWEBnewsfile.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,同时取消这一行代码的注释,即去掉前面的分号就可以了。 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- 如何从windows pc下载xcode4(带IDP acc)
- win10系统电脑无法识别u盘的解决办法
- windows-runtime – 如何确定GridView中哪些项目在当前滚动
- windows – 内存映射文件:如何监视内存使用情况
- windows-7 – 从命令行删除SCCM证书
- windows下打开binlog
- Windows SuspendThread不? (GetThreadContext失败)
- windows-server-2012-r2 – 如何将FreeNAS设置为Windows群集
- 如何在Windows上为C中的访问冲突错误安装信号处理程序?
- 为什么Windows XP防火墙在启动时不会使用域设置?