php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45870 Floating point exception/opt/apache2/bin/httpd -l
Submitted: 2008-08-20 19:45 UTC Modified: 2008-08-20 21:35 UTC
From: solo at krovatka dot su Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2CVS-2008-08-20 (snap) OS: SuSe ES 10 2.6.16.21-0.8-bigsmp
Private report: No CVE-ID: None
 [2008-08-20 19:45 UTC] solo at krovatka dot su
Description:
------------
I have apache compilled and working version httpd-2.2.8.
and perl  v5.8.8 
when I'm trying to compile php I'm getting the following error:
Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /opt/apache2/bin/apxs follows:
sh: line 1:  3074 Floating point exception/opt/apache2/bin/httpd -l
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/opt/apache2/bin/httpd'..
configure: error: Aborting
make: *** [php-5.2.5/Makefile] Error 1

My makefile contains following keys:
$(PHP_MAKEFILE): Makefile
        @cd $(PHP_SRC_DIR) \
        && CFLAGS=-s ./configure \
                --with-libdir=$(LIBDIR)         \
                --with-apxs2=$(APXS)                    \
                --with-oci8=$(ORACLE_HOME)              \
                --with-pdo-oci=$(ORACLE_HOME)   \
                --disable-cgi                                   \
                --enable-mbstring                               \
                --enable-gd-native-ttf                  \
                --enable-ftp                                    \
                --enable-sockets                                \
                --with-curl                                             \
                --with-xsl                                              \
                --with-iconv                                    \
                --with-zlib                                             \
                --with-gd                                               \
                --with-freetype-dir

I've googled 100 places already but still can't find anything similar.
Will be very glad if I get any hint how to resolve this.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-20 21:35 UTC] johannes@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Dec 02 12:00:01 2025 UTC