Re: Weirdness
- From: DB Sol <dbsolatadelphiadotnet>
- Date: Fri, 22 Jul 2005 12:19:22 -0500
Veikko Mäkinen <look@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote
in news:NMKCe.5751$j93.4804@xxxxxxxxxxxxxxxxxxxxxxx:
> dst101 wrote:
>> Hello,
>>
>> Can someone try this example on PHP.NET:
>> http://us2.php.net/session_start
>> as I am getting parse errors. And tell me if it works for them?
>
> Wouldn't it be easier (for us) to show your code and the error you get?
>
>
> -veikko
>
> P.S. the question is rhetorical - the answer is "yes, it would be".
>
Well, oddly enough, I just started getting issues with sessions
yesterday. The code itself hasn't changed in months, and then, "all of a
sudden", anything I used involving sessions quit working. I talked to my
provider, and the log shows that when PHP tries to do a session,
permission is denied on the /var/lib/php/session dir. He says that
Apache owns and has rwe on it. PHP is running as an Apache module, so
that's all it should need, shouldn't it?
Apache is 2.0.51, and PHP is 4.3.10. Don't know what else to add, except
that the code it's choking on is session_start().
I'm looking thru whatever I can find to see what I've done wrong (this
time), and I'll post again if I find something interesting.
Thanx,
~dukethor
.
- Follow-Ups:
- Re: Weirdness
- From: DB Sol
- Re: Weirdness
- References:
- Weirdness
- From: dst101
- Re: Weirdness
- From: Veikko Mäkinen
- Weirdness
- Prev by Date: How to parse via PHP '<item id=12>'
- Next by Date: How to Handle Bounced-Back Email with PHP
- Previous by thread: Re: Weirdness
- Next by thread: Re: Weirdness
- Index(es):
Relevant Pages
- Re: register_globals - turning on
... >>an Apache module. ... >So basically using the .htaccess is a safe
way of enabling sessions to ... >>Stick this file on the beginning of every PHP
page processed. ... >>In the case of session data, the web server needs to be able
... (comp.lang.php) - Re: [PHP] Keeping sessions
... I know this is a PHP and not an Apache list but maybe someone is doing this
with web hosting... ... That doesn't change the fact that Apache does not get involved in sessions.
... Users's session must be persistent in all cases: web server down, user jumpig between backend
web servers, etc ... (php.general) - Re: [PHP] Keeping sessions
... Then one user maybe store sessions in DB but another one not. ... I know this
is a PHP and not an Apache list but maybe someone is doing this with web hosting... ...
you're building a shared hosting system that load balances all sites across a cluster of web servers?
... (php.general) - [UNIX] PHP 4.x Session Spoofing
... The following security advisory is sent to the securiteam mailing list, and can be
found at the SecuriTeam web site: http://www.securiteam.com ... Sessions are now also used
for authentication purposes. ... Session support in PHP: ... Then chown it to apache
... (Securiteam) - RE: [PHP] two small issues with php mail
... [PHP] two small issues with php mail ... but I keep getting parse errors?
... #2 trying to do a Bcc but that gives me parse errors as well ... Checked by
AVG Free Edition. ... (php.general)