Heim  >  Artikel  >  php教程  >  在php+apache中配置显示错误 iis7.0配置php session保存位置

在php+apache中配置显示错误 iis7.0配置php session保存位置

WBOY
WBOYOriginal
2016-06-06 20:00:531091Durchsuche

======================================================== 在php+apache中配置显示错误 如果使用PHP + Apache,在缺省设置下,PHP编码错误是不会提示的,这对于开发来说,是很不方便的。可以使

========================================================
在php+apache中配置显示错误

如果使用PHP + Apache,在缺省设置下,PHP编码错误是不会提示的,这对于开发来说,是很不方便的。可以使用以下步骤打开出错提示:

1. 打开php.ini文件。

2. 搜索并修改下行,把Off值改成On

display_errors = Off

3. 搜索并修改下行
error_reporting = E_ALL & ~E_NOTICE

error_reporting = E_ALL & ~E_NOTICE

4. 修改Apache的httpd.conf,添加以下两行:

php_flag  display_errors        on
php_value error_reporting       2039

 

5. 重启Apache,就OK了。



==================================

iis7.0配置session

php.ini里配置:
session.save_path设置到了d:/php/session/,并且把该文件夹的iis_users权限改成了“完全控制”

 

 

 

jQuery几种插件

http://jqueryui.com/demos/

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn