php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5085 Apache segfaults when displaying php source code (.phps)
Submitted: 2000-06-16 17:52 UTC Modified: 2000-08-01 01:36 UTC
From: mdobel at kawo2 dot rwth-aachen dot de Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.0 Release OS: Linux 2.2.14 (Mandrake 7)
Private report: No CVE-ID: None
 [2000-06-16 17:52 UTC] mdobel at kawo2 dot rwth-aachen dot de
Whenever I open a *.phps-URL, apache outputs the source of this file completely (as expected) but then the corresponding process segfaults immediately.

I added the following lines in httpd.conf for PHP
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps

The ./configure-line is:
./configure --with-apxs --with-config-file-path=/etc/httpd/conf --disable-debug --enable-track-vars --enable-bcmath --with-ttf --with-mysql --with-pdflib=/usr/local --with-zlib-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-tiff-dir=/usr --with-recode --enable-trans-sid --with-regex=php --enable-sysvsem --enable-sysvshm --with-zlib --with-gnu-ld --enable-memory-limit --enable-ftp --with-gd=/usr

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-28 14:48 UTC] andi at cvs dot php dot net
Does this happen with all PHP scripts or only some? Can you reproduce it?
 [2000-07-07 19:53 UTC] mdobel at kawo2 dot rwth-aachen dot de
I have thsi prob too... it happens with any script..
 [2000-07-12 14:11 UTC] danny at cvs dot php dot net
I have had the same problem, but the current CVS is OK.

Danny
---

 [2000-08-01 01:36 UTC] sniper@php.net
Fixed in CVS. (long time ago?)

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 20 16:01:35 2024 UTC