php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15531 Apache doesn't start
Submitted: 2002-02-12 19:12 UTC Modified: 2002-05-13 00:00 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: populaer at gmx dot de Assigned:
Status: No Feedback Package: Apache related
PHP Version: 4.1.1 OS: Linux 2.2.19
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: populaer at gmx dot de
New email:
PHP Version: OS:

 

 [2002-02-12 19:12 UTC] populaer at gmx dot de
Hi,

if I add the php4 module (libphp4.so) in the httpd.conf, the Apache-Webserver doesn't start. The problem: I get no error-messages. Apache seems to die.

Without the entry, the Apache Webserver runs with no problem, so it must be a problem with PHP4.

Apache 1.3.23
PHP 4.1.1

configure:

./configure --with-apxs=/usr/local/apache/current/bin/apxs --enable-tracking-vars=yes --enable-url-includes --enable-sysvshm=yes --enable-sysvsem=yes --with-config-file-path=/etc --with-mysql --with-sapdb=/opt/sapdb/interfaces/odbc

Regards, Michael 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-15 12:58 UTC] sander@php.net
Check your apache's errog_log
 [2002-02-15 17:05 UTC] populaer at gmx dot de
There are no entries in the apache-logs.

I've tried to compile PHP without SAP-DB. Apache starts now. Seems to be a problem with SAP-DB and it's shared-objects.
They are linked against the libpthread.so. Eventually the same problem like MySQL ?

Michael
 [2002-04-09 10:42 UTC] gabid at edulib dot ro
I have compiled php without sapdb and I get the same problem. Apache starts without adding php, then I add in httpd.conf the lines to load the php module and restart apache, and it works.

This is the configure:
./configure \
	--with-mysql=/usr/local/mysql \
	--with-apxs=/usr/local/apache/bin/apxs \
	--with-openssl=/usr/local/ssl \
	--with-mcrypt=/usr/local/lib/libmcrypt \
	--with-zlib \
	--with-gd \
	--enable-gd-native-ttf \
	--enable-ftp

apache 1.3.22
php 4.1.1 or 4.1.2 the same problem
Linux 2.4.16
gcc egcs-2.91.66
 [2002-04-12 09:59 UTC] rele at gmx dot de
An similar error occurs on Windows 2000 with PHP 4.1.2 and Apache 2.0.35.
The CGI version works but if I use the module instructions 
from the PHP install.txt apache doesn't start.

LoadModule php4_module C:/php/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php

Copying php4apache.dll to modules,
renaming to mod_php4.dll and small changes like "AddModule php4_module" don't work, neither.

Even only the LoadModule or the AddModule instruction alone makes the start impossible.

There are no related lines in the apache error log.

Similar Bugs:
PHP 4.1.2 as ISAPI with IIS 5.1 on Windows XP
http://www.phpbuilder.com/forum/read.php3?num=3&id=110295&thread=110281
Apache 2.0.35 & PHP 4.1.2 Module on Linux
http://www.phpbuilder.com/forum/read.php3?num=3&id=110235&loc=0&thread=110235

Best regards
Rene
 [2002-04-12 10:40 UTC] sniper@php.net
To properly diagnose this bug, we need a backtrace to see what is
happening behind the scenes. To find out how to generate a backtrace,
please read http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open".


 [2002-05-13 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 10:01:30 2024 UTC