View previous topic :: View next topic |
Author |
Message |
addi Tux's lil' helper
Joined: 06 Jun 2002 Posts: 112 Location: waterloo, on, canada
|
Posted: Wed Feb 19, 2003 8:32 am Post subject: mod_php 4.3.0 session_start() crashing apache2 |
|
|
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 |
|
|
slartibartfasz Veteran
Joined: 29 Oct 2002 Posts: 1462 Location: Vienna, Austria
|
Posted: Wed Feb 19, 2003 9:31 am Post subject: |
|
|
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 |
|
|
addi Tux's lil' helper
Joined: 06 Jun 2002 Posts: 112 Location: waterloo, on, canada
|
Posted: Wed Feb 19, 2003 4:12 pm Post subject: segfault... in errorlog |
|
|
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 |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Wed Feb 19, 2003 9:29 pm Post subject: |
|
|
FYI there is a security alert out for 4.3.0. rsync and upgrade to 4.3.1. |
|
Back to top |
|
|
Zu` l33t
Joined: 26 May 2002 Posts: 716 Location: BE
|
Posted: Thu Feb 20, 2003 2:46 am Post subject: |
|
|
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 |
|
|
addi Tux's lil' helper
Joined: 06 Jun 2002 Posts: 112 Location: waterloo, on, canada
|
Posted: Thu Feb 20, 2003 5:59 am Post subject: mod_php 4.3.1 - session_start() still crashes! |
|
|
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 |
|
|
mlom n00b
Joined: 05 Feb 2003 Posts: 11
|
Posted: Thu Feb 27, 2003 1:33 am Post subject: |
|
|
PHP has only experimental support for Apache 2.
It must allso be configured in a special way se docs on .
/Mats
|
|
Back to top |
|
|
mlom n00b
Joined: 05 Feb 2003 Posts: 11
|
Posted: Thu Feb 27, 2003 1:34 am Post subject: |
|
|
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 |
|
|
addi Tux's lil' helper
Joined: 06 Jun 2002 Posts: 112 Location: waterloo, on, canada
|
Posted: Thu Feb 27, 2003 2:02 am Post subject: it worked fine before... |
|
|
... but then I upgraded. now all the versions I try have something wrong with them. _________________ James Addison
http://www.pjsoft.ca |
|
Back to top |
|
|
|