Bug #18584 Updated: exit signal Segmentation fault (11)
| From: | webmaster at dodge-diesel dot org | Date: | Fri, 26 Jul 2002 06:28:13 +0000 |
| Subject: | Bug #18584 Updated: exit signal Segmentation fault (11) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-15289@lists.php.net to get a copy of this message | ||
ID: 18584
Updated by: webmaster@dodge-diesel.org
Reported By: webmaster@dodge-diesel.org
Status: Open
Bug Type: Unknown/Other Function
Operating System: Red Linux 7.3
PHP Version: 4.2.2
New Comment:
Thanks for the info. apache compiles ok but when I try php I get
this:
Sorry, I was not able to successfully run APXS. Possible reasons:
1. Perl is not installed;
2. Apache was not compiled with DSO support (--enable-module=so);
3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache/bin/apxs follows
Usage: apxs -g [-S <var>=<val>] -n <modname>
apxs -q [-S <var>=<val>] <query> ...
apxs -c [-S <var>=<val>] [-o <dsofile>] [-D <name>[=<value>]]
[-I <incdir>] [-L <libdir>] [-l <libname>]
[-Wc,<flags>]
[-Wl,<flags>] <files> ...
apxs -i [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
apxs -e [-S <var>=<val>] [-a] [-A] [-n <modname>] <dsofile> ...
configure: error: Aborting
I know I'm missing something
Previous Comments:
------------------------------------------------------------------------
[2002-07-26 02:17:33] rverlander@php.net
Oops I mean:
PHP:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-gd=/usr
--with-zlib=/usr --enable-sockets --with-mysql
make
make install
------------------------------------------------------------------------
[2002-07-26 02:16:58] rverlander@php.net
Thats a static.
Try these Apache/PHP configures:
Apache:
./configure --enable-module=so --enable-module=rewrite
--enable-module=userdir
make
make install
PHP:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-gd=/usr
--with-zlib=/usr --enable-sockets --with-mysql
------------------------------------------------------------------------
[2002-07-26 02:14:47] webmaster@dodge-diesel.org
Well I'm not the smartest cat about this so I'll post my configure
statements.
For php:
./configure --with-mysql --with-apache=../apache_1.3.26
--enable-track-vars
For Apache:
./configure --sysconfdir=/etc/httpd/conf
--activate-module=src/modules/php4/libphp4.a --logfiledir=/home/log
--datadir=/home/httpd
My php info can be seen here:
http://64.244.30.243/phpinfo.php
It says with-zlib but I took that out last time. Don't know why it
still shows up in the info, but it's not on or installed. Thanks :)
------------------------------------------------------------------------
[2002-07-26 02:11:41] rverlander@php.net
(Note: When I say static linked I don't mean linked with static glibc,
i mean linked into Apache source code)
------------------------------------------------------------------------
[2002-07-26 02:07:36] rverlander@php.net
Hmm Is PHP static linked or DSO (APXS)?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/18584
--
Edit this bug report at http://bugs.php.net/?id=18584&edit=1