|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-08-20 21:35 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 12:00:01 2025 UTC |
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.