Bug #14569 Updated: Apache crashes with "Illegal instruction"

From: Date: Mon, 17 Dec 2001 23:34:41 +0000
Subject: Bug #14569 Updated: Apache crashes with "Illegal instruction"
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-74207@lists.php.net to get a copy of this message
ID: 14569
User updated by: xalkina@otenet.gr
Reported By: xalkina@otenet.gr
Status: Bogus
Bug Type: Apache related
Operating System: linux
PHP Version: 4.1.0
New Comment:

Solves the problem, but should I notice that it happened even without php3...

Is there any documentation on this kind of problems? Even now that I know the solution, I cannot
find anything in the search.

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

[2001-12-17 17:56:09] derick@php.net

You need to compile MySQL support in with this switch:
--enable-mysql=/path/to/mysql

The bundled libraries conflict with the libraries mod_php3 uses.

Not a bug > bogus

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

[2001-12-17 17:52:03] xalkina@otenet.gr

These are all the options used to configure PHP/4.1.0. It's an excerpt from a script used in an
RPM build.

./configure \
	--prefix=/usr \
\
	--with-apxs="rpm -ql xalkina-apache | grep bin/apxs" \
\
	--with-exec-dir=/usr/local/lib/php \
	--with-config-file-path=/etc/httpd \
\
	--with-system-regex \
	--enable-versioning \
	--enable-sysvsem \
	--enable-sysvshm \
	--disable-maintainer-mode \
	--disable-dmalloc \
\
	--without-tsrm-pthreads \
	--without-gd \
	--without-gettext \
	--with-ldap=/usr \
	--without-recode \
	--without-ttf \
	--without-xml \
	--without-gdbm \
	--without-ndbm \
	--without-db2 \
	--without-dbm \
	--without-cdb \
	--without-mcrypt \
	--without-mhash \
	--without-yp \
	--without-imap \
	--without-imsp \
	--without-imagick \
	--without-mck \
	--without-openssl \
	--without-snmp \
	--without-hyperwave \
	--without-zlib \
	--without-pdflib \
	--without-cpdflib \
	--without-fdftk \
\
	--without-adabas \
	--without-msql \
	--without-mysql \
	--without-oracle \
	--without-oci8 \
	--without-iodbc \
	--without-openlink \
	--without-sybase \
	--without-sybase-ct \
	--without-pgsql \
	--without-ibm-db2 \
	--without-solid \
	--without-empress \
	--without-velocis \
	--without-informix \
	--without-interbase \
	--without-custom-odbc \
	--without-dbase \
	--without-filepro \
	--without-ovrimos \
\
	--enable-safe-mode \
	--enable-track-vars \
	--enable-memory-limit \
	--disable-display-source \
	--disable-url-fopen-wrapper


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

[2001-12-17 17:42:38] derick@php.net

What is your full configur eline fro PHP 4 ?

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

[2001-12-17 17:41:20] xalkina@otenet.gr

PHP/4.1.0 is compiled as a dynamic module for Apache/1.3.22.

When it is compiled --with-mysql=/usr, the server crashes with a SIGILL.

When it is compiled --without-mysql, the server starts normally and waits for requests.

Apache is compiled with dynamic modules and loads them per the default configuration. mod_dav,
mod_roaming, mod_php3 are also loaded, but they don't seem to affect the behaviour. I checked
the procedure both with & without PHP/3.0.18.

Both PHP/3.0.18 & PHP/4.1.0 are compiled with --enable-versioning.

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



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



Thread (8 messages)

« previous php.dev (#74207) next »