ID:               15531
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Apache related
 Operating System: Linux 2.2.19
 PHP Version:      4.1.1
 New Comment:

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


Previous Comments:
------------------------------------------------------------------------

[2002-04-09 10:42:45] [EMAIL PROTECTED]

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-02-15 17:05:40] [EMAIL PROTECTED]

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-02-15 12:58:29] [EMAIL PROTECTED]

Check your apache's errog_log

------------------------------------------------------------------------

[2002-02-12 19:12:27] [EMAIL PROTECTED]

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 

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=15531&edit=1

Reply via email to