Re: RC5 report with Win32 and Apache: ok except $PHP_SELF

From: Date: Thu, 14 Dec 2000 15:08:32 +0000
Subject: Re: RC5 report with Win32 and Apache: ok except $PHP_SELF
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-41375@lists.php.net to get a copy of this message
[From PHP-QA]: > One more "suggestion", PHP doesn't report error on session.save_path: > > PHP doesn't show any error like 'Can't create sessions' if the > session.save_path is wrong in php.ini or the path shown doesn't exist on > the filesystem, error_log.txt from Apache 1.3.14 (CGI mode) will simply > show 'Premature end of script'. > I use session.use_trans_sid = 1 > > Shouldn't php emit a warning or should I leave session.save_path empty > as it seems to work anyway ? > Perhaps phpinfo() can report if the session.save_path does not exist ? Stas once told me that the session_writer isn't called until after the HTTP connection is closed. Given the amount of troubles users are having with this (a cursory check of the bugs list had 15 bugs reported on it), perhaps session_writing could be done right before the connection was closed, or some of the more basic mistakes could somehow be checked before the HTTP connection is closed, or the PHP error_reporting could be redirected to HTTP logs instead of just swallowed, or... Obviously not before 4.0.4 release.

« previous php.dev (#41375) next »