﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>PHP博客-Visit Shenzhen, Shenzhen China, Shenzhen Travel Guide-随笔分类-Zend</title><link>http://www.phpweblog.net/haix/category/718.html</link><description>&lt;center&gt;&lt;a href="http://www.szcpost.com/2009/04/2011-summer-universiade.html" title="shenzhen universiade"&gt;Shenzhen Universiade&lt;/a&gt; - Shenzhen 2011 Summer Universiade&lt;/center&gt;</description><language>zh-cn</language><lastBuildDate>Mon, 26 Jul 2010 07:14:46 GMT</lastBuildDate><pubDate>Mon, 26 Jul 2010 07:14:46 GMT</pubDate><ttl>60</ttl><item><title>A session is active. You cannot change the session module's ini settings at this time Installation error! session.php problem?</title><link>http://www.phpweblog.net/haix/archive/2010/07/23/7311.html</link><dc:creator>haix</dc:creator><author>haix</author><pubDate>Fri, 23 Jul 2010 02:47:00 GMT</pubDate><guid>http://www.phpweblog.net/haix/archive/2010/07/23/7311.html</guid><wfw:comment>http://www.phpweblog.net/haix/comments/7311.html</wfw:comment><comments>http://www.phpweblog.net/haix/archive/2010/07/23/7311.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.phpweblog.net/haix/comments/commentRss/7311.html</wfw:commentRss><trackback:ping>http://www.phpweblog.net/haix/services/trackbacks/7311.html</trackback:ping><description><![CDATA[Warning: ini_set() [function.ini-set]: A session is active. You cannot change the session module's ini settings at this time.<br><br><br>The hosting helpdesk gave me the following solutions:<br>1. Add an entry to the <strong>.htaccess</strong>: "<strong>php_value session.auto_start off</strong>".<br>this might give an internal server error as result. If so, undo the change and try solution 2:<br>2. Create a <strong>php.ini </strong>file with the following content: "<strong>session.auto_start=Off</strong>"
and copy this file in the main dir, install dir and admin dir (and I
guess in every dir that comes up with the session problem).<br><br>Solution 2 did solve the problem for me.<br>Grtz, BigBird<br><br>; Initialize session on request startup.<br>session.auto_start = 0<br><br>将session.auto_start设置为0就可以了，意思就是关闭session自动启动<img src ="http://www.phpweblog.net/haix/aggbug/7311.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.phpweblog.net/haix/" target="_blank">haix</a> 2010-07-23 10:47 <a href="http://www.phpweblog.net/haix/archive/2010/07/23/7311.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>