Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mod_php 4.3.0 session_start() crashing apache2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
addi
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 112
Location: waterloo, on, canada

PostPosted: Wed Feb 19, 2003 8:32 am    Post subject: mod_php 4.3.0 session_start() crashing apache2 Reply with quote

Has anyone else had trouble using apache 2, mod_php 4.3.0 with php sessions?

When I call the session_start() function, it seg-faults apache2!

Code:

An error occured while loading http://host.com/mm/:

Connection to host host.com is broken


That's the error message spit back into my browser upon accessing the page... Anyone else run into this?

Thanks!
_________________
James Addison
http://www.pjsoft.ca
Back to top
View user's profile Send private message
slartibartfasz
Veteran
Veteran


Joined: 29 Oct 2002
Posts: 1462
Location: Vienna, Austria

PostPosted: Wed Feb 19, 2003 9:31 am    Post subject: Reply with quote

i'm not good with php - but i would take a look at /var/log/apache/error_log - for testing i usually do 'tail -f /var/log/apache/error_log' to see the instant response from the server...
_________________
To an engineer the glass is neither half full, nor half empty - it is just twice as big as it needs to be.
Back to top
View user's profile Send private message
addi
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 112
Location: waterloo, on, canada

PostPosted: Wed Feb 19, 2003 4:12 pm    Post subject: segfault... in errorlog Reply with quote

that's how I knew that apache2 was segfaulting - I looked in the error_log.

Code:

[Wed Feb 19 00:38:39 2003] [notice] child pid 18994 exit signal Illegal instruction (4)


And there you have it.

Any thoughts?
_________________
James Addison
http://www.pjsoft.ca
Back to top
View user's profile Send private message
rizzo
Retired Dev
Retired Dev


Joined: 30 Apr 2002
Posts: 1067
Location: Manitowoc, WI, USA

PostPosted: Wed Feb 19, 2003 9:29 pm    Post subject: Reply with quote

FYI there is a security alert out for 4.3.0. rsync and upgrade to 4.3.1.
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Thu Feb 20, 2003 2:46 am    Post subject: Reply with quote

rizzo wrote:
FYI there is a security alert out for 4.3.0. rsync and upgrade to 4.3.1.


I don't get it.

There is indeed a GLSA for mod_php, but http://www.php.net/release_4_3_1.php however states that apache modules are not effected ?

Quote:

NOTE: This bug does NOT affect any of the other SAPI modules.
(such as the Apache or ISAPI modules, etc.)

_________________
No growth without resistance.
No action without reaction.
No desire without restraint.
Back to top
View user's profile Send private message
addi
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 112
Location: waterloo, on, canada

PostPosted: Thu Feb 20, 2003 5:59 am    Post subject: mod_php 4.3.1 - session_start() still crashes! Reply with quote

is anyone else using session_start(), etc. with success?

If so, did you have to make any php.ini changes, or anything to get it to work? I did a search through the forums, as well as php.net, with no results that pertain to this issue...

Any input or feedback is welcome!

Thanks again, Gentoo community,
_________________
James Addison
http://www.pjsoft.ca
Back to top
View user's profile Send private message
mlom
n00b
n00b


Joined: 05 Feb 2003
Posts: 11

PostPosted: Thu Feb 27, 2003 1:33 am    Post subject: Reply with quote

PHP has only experimental support for Apache 2.
It must allso be configured in a special way se docs on .

/Mats

Back to top
View user's profile Send private message
mlom
n00b
n00b


Joined: 05 Feb 2003
Posts: 11

PostPosted: Thu Feb 27, 2003 1:34 am    Post subject: Reply with quote

PHP has only experimental support for Apache 2.
It must allso be configured in a special way se docs on www.php.net .

/Mats
Back to top
View user's profile Send private message
addi
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jun 2002
Posts: 112
Location: waterloo, on, canada

PostPosted: Thu Feb 27, 2003 2:02 am    Post subject: it worked fine before... Reply with quote

... but then I upgraded. now all the versions I try have something wrong with them.
_________________
James Addison
http://www.pjsoft.ca
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum