[PHP-DEV] Bug #15275 Updated: Apache 1.3.20 won't start with newly compiled PHP 4.1.1

2002-02-01 Thread jojo-in-london

ID: 15275
Comment by: [EMAIL PROTECTED]
Old Reported By: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Operating System: SuSE Linux 7.1 Kernel 2.4.2
PHP Version: 4.1.1
New Comment:

Worked out on the problem.
The suggestion to step back to 4.0.6 does also not work.

But I found the root of the problem.

Those error-systems were glibc 2.1.x based.
After upgrading to glibc 2.2.5 / and all other aditional tools (gcc to
2.95.3, binutils, automake, autoconf, gettext)
everz this is reallz working fine again.
Simply works.

Perhaps drop a notice for other users ?
mfG
J. Sauer


Previous Comments:


[2002-01-31 10:14:27] [EMAIL PROTECTED]

This is the config:

./configure \
--prefix=/usr \
--sbindir=/usr/sbin \
--bindir=/usr/bin \
--libexecdir=/usr/lib/apache/modules \
--datadir=/home/fileserver/documents \
--sysconfdir=/etc/httpd \
--with-config-file-path=/etc/httpd/php.ini \
--localstatedir=/var \
--with-apxs=/usr/sbin/apxs \
--enable-ftp \
--with-ftp \
--enable-versioning \
--enable-tracking-vars \
--enable-url-includes \
--enable-sysvshm \
--enable-sysvsem \
--with-sapdb=/usr/sapdb/depend \
--with-gdbm \
--enable-trans-sid \
--enable-magic-quotes \
--enable-libgcc \
--enable-calendar \
--disable-mysql \
--with-mysql=no \
--with-gnu-ld \
--enable-ftp \
--with-ndbm \
--with-dbase \
--with-gettext \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib-dir=/usr \
--enable-memory-limit

Core Dump occour on start up.

Last words off
strace -f httpd
-
mprotect(0x4071a000, 56752, PROT_NONE)  = 0
old_mmap(0x4071a000, 49152, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 4, 0x33000) = 0x4071a000
old_mmap(0x40726000, 7600, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40726000
close(4)= 0
mprotect(0x40617000, 217088, PROT_READ|PROT_WRITE) = 0
mprotect(0x40617000, 217088, PROT_READ|PROT_EXEC) = 0
mprotect(0x4045c000, 1400832, PROT_READ|PROT_WRITE) = 0
mprotect(0x4045c000, 1400832, PROT_READ|PROT_EXEC) = 0
mprotect(0x40377000, 630784, PROT_READ|PROT_WRITE) = 0
mprotect(0x40377000, 630784, PROT_READ|PROT_EXEC) = 0
mprotect(0x401e5000, 1212416, PROT_READ|PROT_WRITE) = 0
mprotect(0x401e5000, 1212416, PROT_READ|PROT_EXEC) = 0
getpid()= 22607
getrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=RLIM_INFINITY}) =
0
uname({sys=Linux, node=KBDev1.uk-london, ...}) = 0
rt_sigaction(SIGRT_0, {0x40690f94, [], 0x400}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x40690684, [], 0x400}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x4069101c, [], 0x400}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 8) = 0
munmap(0x4034d000, 13070)   = 0
--- SIGSEGV (Segmentation fault) ---



My rating:
PHP 4.1.1 + Apache 1.3.22 + Linux 2.2.16 (Redhat 6.2/Cobalt Cube 3) +
SapDB 7.3.00.18 is currently not usable.

Workaround: Step Back to 4.0.6

mfG
Juergen Sauer
[EMAIL PROTECTED]
[EMAIL PROTECTED]



[2002-01-30 11:37:15] [EMAIL PROTECTED]

PHP 4.1.1   Apache 1.3.22 on Cobald Cube 3/Linux 2.2.16, has the same
bug.
Jojo



[2002-01-29 08:46:18] [EMAIL PROTECTED]

Line 224 of http.conf is :

LoadModule php4_modulelibexec/libphp4.so



[2002-01-29 08:34:27] [EMAIL PROTECTED]

Whats is the line 224 on httpd.conf?



[2002-01-29 08:15:34] [EMAIL PROTECTED]

Apache version = 1.3.20
mod_ssl version = 2.8.4 for apache 1.3.20
openssl version = 0.9.6c
C-compiler = gcc version 2.95.2 19991024 (release)

I have first installed openssl, then compiled and installed apache with
mod_ssl support and then compiled PHP 4.1.1 from the official sources,
configuring with the following options:

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

This went 

[PHP-DEV] Bug #15275 Updated: Apache 1.3.20 won't start with newly compiled PHP 4.1.1

2002-01-31 Thread jojo-in-london

ID: 15275
Comment by: [EMAIL PROTECTED]
Old Reported By: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Operating System: SuSE Linux 7.1 Kernel 2.4.2
PHP Version: 4.1.1
New Comment:

This is the config:

./configure \
--prefix=/usr \
--sbindir=/usr/sbin \
--bindir=/usr/bin \
--libexecdir=/usr/lib/apache/modules \
--datadir=/home/fileserver/documents \
--sysconfdir=/etc/httpd \
--with-config-file-path=/etc/httpd/php.ini \
--localstatedir=/var \
--with-apxs=/usr/sbin/apxs \
--enable-ftp \
--with-ftp \
--enable-versioning \
--enable-tracking-vars \
--enable-url-includes \
--enable-sysvshm \
--enable-sysvsem \
--with-sapdb=/usr/sapdb/depend \
--with-gdbm \
--enable-trans-sid \
--enable-magic-quotes \
--enable-libgcc \
--enable-calendar \
--disable-mysql \
--with-mysql=no \
--with-gnu-ld \
--enable-ftp \
--with-ndbm \
--with-dbase \
--with-gettext \
--with-gd \
--with-jpeg-dir=/usr \
--with-png-dir=/usr \
--with-zlib-dir=/usr \
--enable-memory-limit

Core Dump occour on start up.

Last words off
strace -f httpd
-
mprotect(0x4071a000, 56752, PROT_NONE)  = 0
old_mmap(0x4071a000, 49152, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 4, 0x33000) = 0x4071a000
old_mmap(0x40726000, 7600, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40726000
close(4)= 0
mprotect(0x40617000, 217088, PROT_READ|PROT_WRITE) = 0
mprotect(0x40617000, 217088, PROT_READ|PROT_EXEC) = 0
mprotect(0x4045c000, 1400832, PROT_READ|PROT_WRITE) = 0
mprotect(0x4045c000, 1400832, PROT_READ|PROT_EXEC) = 0
mprotect(0x40377000, 630784, PROT_READ|PROT_WRITE) = 0
mprotect(0x40377000, 630784, PROT_READ|PROT_EXEC) = 0
mprotect(0x401e5000, 1212416, PROT_READ|PROT_WRITE) = 0
mprotect(0x401e5000, 1212416, PROT_READ|PROT_EXEC) = 0
getpid()= 22607
getrlimit(RLIMIT_STACK, {rlim_cur=2040*1024, rlim_max=RLIM_INFINITY}) =
0
uname({sys=Linux, node=KBDev1.uk-london, ...}) = 0
rt_sigaction(SIGRT_0, {0x40690f94, [], 0x400}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x40690684, [], 0x400}, NULL, 8) = 0
rt_sigaction(SIGRT_2, {0x4069101c, [], 0x400}, NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [RT_0], NULL, 8) = 0
munmap(0x4034d000, 13070)   = 0
--- SIGSEGV (Segmentation fault) ---



My rating:
PHP 4.1.1 + Apache 1.3.22 + Linux 2.2.16 (Redhat 6.2/Cobalt Cube 3) +
SapDB 7.3.00.18 is currently not usable.

Workaround: Step Back to 4.0.6

mfG
Juergen Sauer
[EMAIL PROTECTED]
[EMAIL PROTECTED]


Previous Comments:


[2002-01-30 11:37:15] [EMAIL PROTECTED]

PHP 4.1.1   Apache 1.3.22 on Cobald Cube 3/Linux 2.2.16, has the same
bug.
Jojo



[2002-01-29 08:46:18] [EMAIL PROTECTED]

Line 224 of http.conf is :

LoadModule php4_modulelibexec/libphp4.so



[2002-01-29 08:34:27] [EMAIL PROTECTED]

Whats is the line 224 on httpd.conf?



[2002-01-29 08:15:34] [EMAIL PROTECTED]

Apache version = 1.3.20
mod_ssl version = 2.8.4 for apache 1.3.20
openssl version = 0.9.6c
C-compiler = gcc version 2.95.2 19991024 (release)

I have first installed openssl, then compiled and installed apache with
mod_ssl support and then compiled PHP 4.1.1 from the official sources,
configuring with the following options:

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

This went through without problems,'make' and 'make install' worked
also, however when i call apachectl to start the server it exits with
this error message :

Syntax error on line 224 of /usr/local/apache/1.3.20/conf/httpd.conf:
Cannot load /usr/local/apache/1.3.20/libexec/libphp4.so into server:
undefined symbol: pcre_malloc


I've tried this with the latest CVS snapshot as well but no luck. Also,
I've compiled php with different options but always with the same
result...

The weird thing is that I got this to work on 

[PHP-DEV] Bug #15275 Updated: Apache 1.3.20 won't start with newly compiled PHP 4.1.1

2002-01-30 Thread jojo

ID: 15275
Comment by: [EMAIL PROTECTED]
Old Reported By: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Operating System: SuSE Linux 7.1 Kernel 2.4.2
PHP Version: 4.1.1
New Comment:

PHP 4.1.1   Apache 1.3.22 on Cobald Cube 3/Linux 2.2.16, has the same
bug.
Jojo


Previous Comments:


[2002-01-29 08:46:18] [EMAIL PROTECTED]

Line 224 of http.conf is :

LoadModule php4_modulelibexec/libphp4.so



[2002-01-29 08:34:27] [EMAIL PROTECTED]

Whats is the line 224 on httpd.conf?



[2002-01-29 08:15:34] [EMAIL PROTECTED]

Apache version = 1.3.20
mod_ssl version = 2.8.4 for apache 1.3.20
openssl version = 0.9.6c
C-compiler = gcc version 2.95.2 19991024 (release)

I have first installed openssl, then compiled and installed apache with
mod_ssl support and then compiled PHP 4.1.1 from the official sources,
configuring with the following options:

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

This went through without problems,'make' and 'make install' worked
also, however when i call apachectl to start the server it exits with
this error message :

Syntax error on line 224 of /usr/local/apache/1.3.20/conf/httpd.conf:
Cannot load /usr/local/apache/1.3.20/libexec/libphp4.so into server:
undefined symbol: pcre_malloc


I've tried this with the latest CVS snapshot as well but no luck. Also,
I've compiled php with different options but always with the same
result...

The weird thing is that I got this to work on another SuSE box with
same kernel version (2.4.2). Am I lacking some package maybe? I
wouldn't know which one, though. I read through the configure output
carefully and it seems like everything necessary is there.

Please help me out here!





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #15275 Updated: Apache 1.3.20 won't start with newly compiled PHP 4.1.1

2002-01-29 Thread bate

ID: 15275
Updated by: bate
Old Summary: Apache 1.3.20 won't start with newly compiled PHP 4.1.1
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Operating System: SuSE Linux 7.1 Kernel 2.4.2
PHP Version: 4.1.1
New Comment:

Whats is the line 224 on httpd.conf?


Previous Comments:


[2002-01-29 08:15:34] [EMAIL PROTECTED]

Apache version = 1.3.20
mod_ssl version = 2.8.4 for apache 1.3.20
openssl version = 0.9.6c
C-compiler = gcc version 2.95.2 19991024 (release)

I have first installed openssl, then compiled and installed apache with
mod_ssl support and then compiled PHP 4.1.1 from the official sources,
configuring with the following options:

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

This went through without problems,'make' and 'make install' worked
also, however when i call apachectl to start the server it exits with
this error message :

Syntax error on line 224 of /usr/local/apache/1.3.20/conf/httpd.conf:
Cannot load /usr/local/apache/1.3.20/libexec/libphp4.so into server:
undefined symbol: pcre_malloc


I've tried this with the latest CVS snapshot as well but no luck. Also,
I've compiled php with different options but always with the same
result...

The weird thing is that I got this to work on another SuSE box with
same kernel version (2.4.2). Am I lacking some package maybe? I
wouldn't know which one, though. I read through the configure output
carefully and it seems like everything necessary is there.

Please help me out here!





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #15275 Updated: Apache 1.3.20 won't start with newly compiled PHP 4.1.1

2002-01-29 Thread ms

ID: 15275
User updated by: [EMAIL PROTECTED]
Old Summary: Apache 1.3.20 won't start with newly compiled PHP 4.1.1
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache related
Operating System: SuSE Linux 7.1 Kernel 2.4.2
PHP Version: 4.1.1
New Comment:

Line 224 of http.conf is :

LoadModule php4_modulelibexec/libphp4.so


Previous Comments:


[2002-01-29 08:34:27] [EMAIL PROTECTED]

Whats is the line 224 on httpd.conf?



[2002-01-29 08:15:34] [EMAIL PROTECTED]

Apache version = 1.3.20
mod_ssl version = 2.8.4 for apache 1.3.20
openssl version = 0.9.6c
C-compiler = gcc version 2.95.2 19991024 (release)

I have first installed openssl, then compiled and installed apache with
mod_ssl support and then compiled PHP 4.1.1 from the official sources,
configuring with the following options:

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

This went through without problems,'make' and 'make install' worked
also, however when i call apachectl to start the server it exits with
this error message :

Syntax error on line 224 of /usr/local/apache/1.3.20/conf/httpd.conf:
Cannot load /usr/local/apache/1.3.20/libexec/libphp4.so into server:
undefined symbol: pcre_malloc


I've tried this with the latest CVS snapshot as well but no luck. Also,
I've compiled php with different options but always with the same
result...

The weird thing is that I got this to work on another SuSE box with
same kernel version (2.4.2). Am I lacking some package maybe? I
wouldn't know which one, though. I read through the configure output
carefully and it seems like everything necessary is there.

Please help me out here!





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


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]