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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mdobel at kawo2 dot rwth-aachen dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2026 The PHP Group
All rights reserved.
Last updated: Sat Jun 27 16:00:01 2026 UTC