Home > php教程 > php手册 > body text

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

WBOY
Release: 2016-06-06 20:00:53
Original
1091 people have browsed it

======================================================== 在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/

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!