php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9680 Segmentation fault
Submitted: 2001-03-11 03:17 UTC Modified: 2001-04-10 10:56 UTC
From: techno-matic at usa dot net Assigned:
Status: Closed Package: Dynamic loading
PHP Version: 4.0.4pl1 OS: Linux 2.2.14-5
Private report: No CVE-ID: None
 [2001-03-11 03:17 UTC] techno-matic at usa dot net
PHP 4.04pl1
Apache 1.3.12
MySQL 3.23.32
Linux 2.2.14-5mdk

I just downloaded PHP 4.04pl1 and compiled it as module: --withmysql --with-apxs --enable-versioning

First i had some problems compiling with mysql (due to the -lz at the linking) but it worked for me, then it appears to compile all fine, but when i loaded the php4 module with Apache the following happens:

The .PHP files are shown as source files (i just see the entire code)
The HTML files aren't shown, and the error logs report this:

[notice] child pid xxxxx exit signal Segmentation fault (11)

Some idea??

pd. I do added the:
LoadModule php4_module         modules/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php4

lines...

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-14 15:26 UTC] sniper@php.net
1. What was the configure line EXACTLY like?
2. Do you have something else in Apache that uses 
mysql? If so, you have to add the path to mysql install
base dir for --with-mysql
3. Your addtype set's the php extension to be .php4
so of course your .php files won't be parsed.

--Jani

 [2001-04-10 10:56 UTC] sniper@php.net
No feedback. If this happens also with soon to be released PHP 4.0.5, reopen this bug report.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 20:01:29 2024 UTC