Bug #5988: apache dies w/ php3 + mysql
| From: | hquest at fesppr dot br | Date: | Sat, 05 Aug 2000 22:20:50 +0000 |
| Subject: | Bug #5988: apache dies w/ php3 + mysql | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-27859@lists.php.net to get a copy of this message | ||
From: hquest@fesppr.br
Operating system: Slack 7.1
PHP version: 3.0.16
PHP Bug Type: Compile Failure
Bug description: apache dies w/ php3 + mysql
PHP3 builds and installs correctly, but apache gets down w/ the following error: (got this w/ a
strace)
munmap(0x2acd7000, 22681) = 0
open("./php3.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/php3.ini", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/var/lib/apache/conf/php3.ini", O_RDONLY) = 4
ioctl(4, TCGETS, 0x7fffc6ec) = -1 ENOTTY (Inappropriate ioctl for device)
read(4, "[PHP_3]\n\n;;;;;;;;;;;;;;;;;;;\n; A"..., 8192) = 8192
read(4, ".defaultlrl\t=\t4096\t; Handling of"..., 8192) = 4630
read(4, "", 3562) = 0
read(4, "", 8192) = 0
ioctl(4, TCGETS, 0x7fffc6d8) = -1 ENOTTY (Inappropriate ioctl for device)
--- SIGSEGV (Falha de segmentação) ---
root@installer:/home/hquest# _
I can't use gdb, cause httpd forks w/ success, and gdb returns me no errors. I know that is a
problem w/ MySQL, 'cause if i compile PHP3 w/out MySQL support, the module works fine.
The system is a fresh Slack7.1 plus:
- OpenLDAP 1.2.11
- UCD-SNMP 4.1.2
- OpenSSL-0.9.5a
- IMAP from Pine 4.21
- GD 1.8.3
- Apache-1.3.12
- PHP-3.0.1[3-6] (no one works w/ MySQL support -- all other features works)
- MySQL-3.22.[27,30,32]
All was compiled in this machine, and this is my ./do-conf:
./configure --with-apxs=/var/lib/apache/sbin/apxs \
--with-shared-apache=/var/lib/apache \
--with-apache=/var/lib/apache \
--with-config-file-path=/var/lib/apache/conf \
--with-exec-dir=/var/lib/apache/htdocs \
--with-mod-dav=/var/lib/apache \
--with-ldap=/usr \
--with-imap=/tmp/pine4.21/imap \
--with-mysql=/usr \
--with-freetype \
--with-dbase \
--with-filepro \
--with-zlib \
--with-ftp \
--with-openssl \
--with-snmp \
--with-xml \
--with-yp \
--with-db2 \
--with-gdbm \
--with-gd \
--with-jpeg-dir \
--with-tiff-dir \
--with-gettext \
--with-system-regex \
--enable-ucd-snmp-hack \
--enable-sysvshm \
--enable-sysvsem \
--enable-memory-limit \
--enable-discard-path \
--disable-debug