|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2001-11-06 18:06 UTC] silva at athenea dot ort dot edu dot uy
Hi, I have seen this bug in the bug-list but I found no answer (have I missed it?) so I post it, any help required, any help I can give to you, just tell me what. I have compiled apache 1.3.20 and works fine. (installed on /usr/local/apache-1.3.20/) Then I have compiled php4.0.6 with the following settings: ./configure \ --prefix=/usr/local/php-4.0.6 \ --with-mysql \ --with-apxs=/usr/local/apache-1.3.20/bin/apxs compiler: gcc version 2.95.2 19991024 (release) I have checked all the settings, httpd.conf (LoadModule, etc) and they seems ok. I have exported the variable PHPRC=/usr/local/apache-1.3.20/conf and placed there the php.ini file. Now, when I try to start the httpd binary it chrashes and generates a core file. Taking ideas from other bug reports I ran the command: /usr/local/apache-1.3.20/bin > dbx httpd core Type 'help' for help. reading symbolic information ... [using memory image in core] Segmentation fault in php_if_apache_lookup_uri at 0xd13cb7f4 0xd13cb7f4 (php_if_apache_lookup_uri+0x554) 800c0000 lwz r0,0x0(r12) And that is it, what can I do? Any ideas?? Is there any other report/log/anything where I can get more information so I can send it to you?? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 21:00:01 2025 UTC |
I downloaded the latest php release y could get: php4-200111061500 I also added the following strings to archive_cmds and archive_expsym_cmds in the libtool file (as somenone suggested in the php-install list: \${wl}-bI:/path/to/libexec/httpd.exp But it doesn't work, I can't compile and the last 2 compilation messages follows: Making all in . /bin/sh /home/soft/erni/php/libtool --silent --mode=compile gcc -I. -I/home/soft/erni/php/ -I/home/soft/erni/php/main -I/home/soft/erni/php -I/usr/local/apache-1.3.20/include -I/home/soft/erni/php/Zend -I/home/soft/erni/php/ext/mysql/libmysql -I/home/soft/erni/php/ext/xml/expat -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I/home/soft/erni/php/TSRM -O2 -prefer-pic -c stub.c /bin/sh /home/soft/erni/php/libtool --silent --mode=link gcc -I. -I/home/soft/erni/php/ -I/home/soft/erni/php/main -I/home/soft/erni/php -I/usr/local/apache-1.3.20/include -I/home/soft/erni/php/Zend -I/home/soft/erni/php/ext/mysql/libmysql -I/home/soft/erni/php/ext/xml/expat -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I/home/soft/erni/php/TSRM -O2 -prefer-pic -o libphp4.la -rpath /home/soft/erni/php/libs -avoid-version stub.lo Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la ext/mysql/libmysql.la ext/pcre/libpcre.la ext/posix/libposix.la ext/session/libsession.la ext/standard/libstandard.la ext/xml/libxml.la TSRM/libtsrm.la -ldl -lcrypt -lbind -lm -ldl -lcrypt ar: No such file or directory ar: 0707-117 The fopen system call failed on file -Wl,-bI:/usr/local/apache-1.3.20/libexec/httpd.exp. make: The error code from the last command is 1. Stop. make: The error code from the last command is 1. Stop. ***************************************************** It seems like the apache binary is not exporting the "fopen" symbol. The most similar one in the httpd.exp file is "ap_pfopen". I hope this helps. Regards Ernesto Silva.