Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Jul 2008 21:35:31 -0400
From:      kalin m <kalin@el.net>
To:        users@httpd.apache.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: [users@httpd] Re: httpd php dump
Message-ID:  <486C2CE3.7050108@el.net>
In-Reply-To: <486C087B.4060002@el.net>
References:  <486B04D2.8050700@el.net>		<991123400807012158s4a21a3ffya944aa279aa37fb4@mail.gmail.com>		<486B0FC4.3090805@el.net>	<991123400807012255n1d95ea03i9bfc95d401bf0cb8@mail.gmail.com>	<486B2091.1060909@el.net> <486BA9BF.1030109@el.net> <486C0329.40300@el.net> <486C087B.4060002@el.net>

next in thread | previous in thread | raw e-mail | index | archive | help

what would this mean:

# ./configure --prefix=/etc/httpd --enable-ssl --with-ssl=/usr/local/ssl 
--enable-rewrite --enable-so --enable-headers --enable-unique-id
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... x86_64-unknown-freebsd7.0
checking host system type... x86_64-unknown-freebsd7.0
checking target system type... x86_64-unknown-freebsd7.0

Configuring Apache Portable Runtime library ...

checking for APR... apr-1-config: not found
reconfig
configuring package in srclib/apr now
configure: WARNING: Unrecognized options: --enable-ssl, --with-ssl, 
--enable-rewrite, --enable-so, --enable-headers, --enable-unique-id
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
checking build system type... x86_64-unknown-freebsd7.0
checking host system type... x86_64-unknown-freebsd7.0
checking target system type... x86_64-unknown-freebsd7.0
Configuring APR library
.......


Unrecognized options?!





kalin m wrote:
>
>
> if i build php with all the things i need it builds fine but at the 
> time of instalaltion here is what happens:
>
> # make install
> Installing PHP SAPI module:       apache2handler
> /etc/httpd/build/instdso.sh SH_LIBTOOL='/etc/httpd/build/libtool' 
> libphp5.la /etc/httpd/modules
> /etc/httpd/build/libtool --mode=install cp libphp5.la /etc/httpd/modules/
> cp .libs/libphp5.so /etc/httpd/modules/libphp5.so
> cp .libs/libphp5.lai /etc/httpd/modules/libphp5.la
> libtool: install: warning: remember to run `libtool --finish 
> /usr/local/src/php-5.2.6/libs'
> chmod 755 /etc/httpd/modules/libphp5.so
> [activating module `php5' in /etc/httpd/conf/httpd.conf]
> Installing PHP CLI binary:        /usr/local/bin/
> Installing PHP CLI man page:      /usr/local/man/man1/
> Installing build environment:     /usr/local/lib/php/build/
> Installing header files:          /usr/local/include/php/
> Installing helper programs:       /usr/local/bin/
>  program: phpize
>  program: php-config
> Installing man pages:             /usr/local/man/man1/
>  page: phpize.1
>  page: php-config.1
> Installing PEAR environment:      /usr/local/lib/php/
> Segmentation fault (core dumped)
> *** Error code 139
>
> Stop in /usr/local/src/php-5.2.6.
> *** Error code 1
>
> Stop in /usr/local/src/php-5.2.6.
>
>
> what is the logical explanation for all this
>
> tanks.
>
>
>
> kalin m wrote:
>> this is getting to ridiculous levels....
>>
>> if i build php only with --with-apxs2=/etc/httpd/bin/apxs then apache 
>> starts and httpd/php works ok. anything else added to the 
>> configuration - and i tried different stuff - ( 
>> --with-mysql=/usr/local/mysql; --with-curl; --with-openssl=/usr) - 
>> alone or in combination builds fine but at the time of apache startup 
>> it dumps core...
>>
>> apparently the httpd - currently 2.2.9 - configure doesn't matter. so 
>> right now the httpd is configured - as intended - with:
>> ./configure --prefix=/etc/httpd --enable-ssl 
>> --with-ssl=/usr/local/ssl --enable-rewrite --enable-so 
>> --enable-headers --enable-unique-id
>>
>> i tried also with httpd 2.0.63. same thing. i can't imagine anymore 
>> what the hell can it be. i've done many other installs and never had 
>> this things happening.
>>
>> the machine is freebsd 7. its a 64 bit build on a multiprocessor 
>> machine. dual quad core...  and identifies itself as amd64...
>>
>> i just don't get it....
>> what to look at?!
>>
>> thanks...
>>
>>
>>
>> kalin m wrote:
>>> i'd be assuming than that i'd need to build an older apache.
>>> this is probably a stupid question but is there anybody out there 
>>> that is using apache 2.2.9 + php 5.2.6 (as DSO) on freebsd 7 amd64 
>>> (multi processor) without problems?
>>>
>>> thanks...
>>>
>>>
>>>
>>> kalin m wrote:
>>>> sure.
>>>>
>>>> ./configure --prefix=/etc/httpd --enable-ssl 
>>>> --with-ssl=/usr/local/ssl --enable-rewrite --enable-so 
>>>> --enable-headers --enable-unique-id
>>>>
>>>> like i said there is pretty much nothing in the error log for 
>>>> httpd. it's a brand new install. here is the whole file:
>>>>
>>>> [Tue Jul 01 22:45:36 2008] [warn] Init: Session Cache is not 
>>>> configured [hint: SSLSessionCache]
>>>> [Tue Jul 01 22:45:37 2008] [notice] Apache/2.2.9 (Unix) 
>>>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations
>>>> [Tue Jul 01 22:46:19 2008] [error] [client x.x.x.x] File does not 
>>>> exist: /usr/web/favicon.ico
>>>> [Tue Jul 01 22:50:11 2008] [notice] caught SIGTERM, shutting down
>>>> [Tue Jul 01 22:52:33 2008] [warn] Init: Session Cache is not 
>>>> configured [hint: SSLSessionCache]
>>>> [Tue Jul 01 22:52:34 2008] [notice] Apache/2.2.9 (Unix) 
>>>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations
>>>> [Tue Jul 01 22:55:29 2008] [notice] caught SIGTERM, shutting down
>>>> [Tue Jul 01 22:55:35 2008] [warn] Init: Session Cache is not 
>>>> configured [hint: SSLSessionCache]
>>>> [Tue Jul 01 22:55:36 2008] [notice] Apache/2.2.9 (Unix) 
>>>> mod_ssl/2.2.9 OpenSSL/0.9.8h configured -- resuming normal operations
>>>> [Tue Jul 01 23:00:50 2008] [notice] caught SIGTERM, shutting down
>>>> ~
>>>> (just changed my ip there)
>>>>
>>>> i suspect the apache so module......  but not really sure....  
>>>> executing php files on the cli is working fine to.. it must be the 
>>>> so...
>>>> httpd and php are supposed to just work together.....  that's why 
>>>> core dump without any messages is a bit weired.....
>>>>
>>>>
>>>>
>>>> Odhiambo Washington wrote:
>>>>> On Wed, Jul 2, 2008 at 8:19 AM, kalin m <kalin@el.net> wrote:
>>>>>  
>>>>>> there is no extensions.ini anywhere on this machine...  a brand 
>>>>>> new one.
>>>>>> httpd/logs/error_log has 6 lines in it. something about session 
>>>>>> cash (SSL)
>>>>>> not configured...
>>>>>>
>>>>>> httpd runs fine without loading the php module....
>>>>>>     
>>>>>
>>>>> Would you like to provide details on how you compiled your apache
>>>>> then? Did you use the ports to install?
>>>>> What options did you compile with?
>>>>> What is this that you have in the error_log that you don't want to 
>>>>> reveal?
>>>>>
>>>>>
>>>>>   
>>> _______________________________________________
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to 
>>> "freebsd-questions-unsubscribe@freebsd.org"
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server 
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html>; for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html>; for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486C2CE3.7050108>