There seems to be something very wrong with redhat 6.0's version of mod_php3. perhaps the problem could be deeper (like glibc for instance).The problem seems to manifest itself when I try to access a file using fopen and subsequently fgets on my php3 script. After a certain number of fgets, the child process spawned by apache seems to die off with a segmentation fault. Here is how the bug can be reproduced: When I run this script: http://alidrus.mlcc.com.my/~abu/test.phps I check the log file and get this message in the apache logfile /var/logs/httpd/error_log: [Thu May 6 14:53:59 1999] [notice] child pid 2078 exit signal Segmentation fault (11) The user who clicks on the link: http://alidrus.mlcc.com.my/~abu/test.php3 would subsequently get a message saying "Document contains no data".
This also occurs on *fclose*. This is really serious and I don't see a quick work-around :-( This bug is also in the php3Bugdatabase at http://bugs.php.net/bugs.php3?id=1313
well, the announcement of PHP3.0.8 states that this bug is fixed. Now if there is a rpm avaible any time soon this should be considered fixed.
I just tested the new 3.0.8-1 RPM of mod_php3. It DOES NOT fix the bug when used with the apache that comes with Redhat 6.0. So you still need to fix that bug. I am suprised that there are not more people complaining about this bug since it is quite important if you plan to use RedHat 6.0 as a Webhosting-Platform
*** Bug 3369 has been marked as a duplicate of this bug. *** The mod_php3 RPM from the errata is not really compiled with postgresql support, as the errata info would lead one to believe. To enable postgresql support, the line in the SPEC file "--with-postgresql" must be changed to "--with-pgsql=/usr/lib/pgsql" ------- Additional Comments From bentonw 06/09/99 13:03 ------- rather, that should be "--with-pgsql", with no directory specified -- sorry, I spoke too soon ------- Additional Comments From jbj 06/10/99 11:09 ------- *** Bug 3384 has been marked as a duplicate of this bug. *** The .spec file uses --with-postgresql. It SHOULD read, "--with-pgsql".
all of these php bugs have been fixed for the upcoming release.