[PHP-DEV] Re: [PHP-QA] RC5 report with Win32 and Apache: ok except $PHP_SELF From: Richard Lynch (richard <email protected>)
Date: 12/14/00

[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.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>