Re: httpd php dump

2008-07-05 Thread Chuck Swiger

kalin m wrote:
[ ... ]
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.


supposed to is the key phrase.

I've seen similar issues before; sometimes, rearranging the order that PHP 
modules get loaded helps.  Otherwise, try deleting and re-building PHP and the 
extensions and all dependencies you need.


This is something that the lang/php*  corresponding php*-extensions ports 
handle well...


Regards,
--
-Chuck
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: httpd php dump

2008-07-02 Thread kalin m

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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]


Re: [EMAIL PROTECTED] Re: httpd php dump

2008-07-02 Thread kalin m

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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED]


Re: [EMAIL PROTECTED] Re: httpd php dump

2008-07-02 Thread kalin m

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 [EMAIL PROTECTED] 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 
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [EMAIL PROTECTED] Re: httpd php dump

2008-07-02 Thread kalin m



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 [EMAIL PROTECTED] 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 
[EMAIL PROTECTED]


-
The official User-To-User support forum of the Apache HTTP 

Re: [EMAIL PROTECTED] Re: httpd php dump

2008-07-02 Thread kalin m


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 

Re: httpd php dump

2008-07-02 Thread Kirk Strauser

kalin m wrote:

ok...
what to do?

freebsd 7; httpd 2.2.9; php5.2.6 (or 5.1.2)

php was configured with just this : ./configure 
--with-mysql=/usr/local/mysql --with-apxs2=/etc/httpd/bin/apxs


Is there a reason you're not installing it through ports, which are 
extremely widely tested and patch FreeBSD-specific problems with a lot 
of software?

--
Kirk Strauser
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [EMAIL PROTECTED] Re: httpd php dump

2008-07-02 Thread William A. Rowe, Jr.

kalin m wrote:


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


It didn't find apr-1-config executable in your path, e.g. you did
not install apr and apr-util individually before building httpd (we hope)


configuring package in srclib/apr now
configure: WARNING: Unrecognized options: --enable-ssl, --with-ssl, 
--enable-rewrite, --enable-so, --enable-headers, --enable-unique-id


Unrecognized options?!


autoconf 1.62 new noise, entirely violates autoconf's design principals
(that warnings shouldn't be emitted and especially not for sub-packages).

apr doesn't have these options, httpd does.

We've hacked apr-1.3 to resolve this chaos, but you'll have to wait for
a new httpd package to clean up the noise.  In the meantime, ignore it.
It's meaningless (these were always unrecognized by apr, it just didn't
whine about it.)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


httpd php dump

2008-07-01 Thread kalin m
ok... 


what to do?

freebsd 7; httpd 2.2.9; php5.2.6 (or 5.1.2)


if the line:
LoadModule php5_modulemodules/libphp5.so

is in the httpd.conf httpd dumps core. no matter which version of php.

php was configured with just this : ./configure 
--with-mysql=/usr/local/mysql --with-apxs2=/etc/httpd/bin/apxs


here is some relevant information:

# gdb /etc/httpd/bin/httpd httpd.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as amd64-marcel-freebsd...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /etc/httpd/lib/libaprutil-1.so.3...done.
Loaded symbols for /etc/httpd/lib/libaprutil-1.so.3
Reading symbols from /etc/httpd/lib/libexpat.so.1...done.
Loaded symbols for /etc/httpd/lib/libexpat.so.1
Reading symbols from /etc/httpd/lib/libapr-1.so.3...done.
Loaded symbols for /etc/httpd/lib/libapr-1.so.3
Reading symbols from /lib/libcrypt.so.4...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /etc/httpd/modules/libphp5.so...done.
Loaded symbols for /etc/httpd/modules/libphp5.so
Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.15...done.
Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.15
Reading symbols from /usr/local/lib/libxml2.so.5...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libz.so.4...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0008004a8060 in ?? ()
[New Thread 0x801101120 (LWP 100329)]
(gdb)


# httpd -l
Compiled in modules:
 core.c
 mod_authn_file.c
 mod_authn_default.c
 mod_authz_host.c
 mod_authz_groupfile.c
 mod_authz_user.c
 mod_authz_default.c
 mod_auth_basic.c
 mod_include.c
 mod_filter.c
 mod_log_config.c
 mod_env.c
 mod_headers.c
 mod_unique_id.c
 mod_setenvif.c
 mod_ssl.c
 prefork.c
 http_core.c
 mod_mime.c
 mod_status.c
 mod_autoindex.c
 mod_asis.c
 mod_cgi.c
 mod_negotiation.c
 mod_dir.c
 mod_actions.c
 mod_userdir.c
 mod_alias.c
 mod_rewrite.c
 mod_so.c


so...  yea  what to do? ?!?

thanks...



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: httpd php dump

2008-07-01 Thread kalin m


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



Odhiambo Washington wrote:

Normally caused by one of the php extensions modules if you installed
them, which I believe you did. Take a look at
/usr/local/etc/php/extensions.ini and try commenting the modules one
by one and restarting apache until you find the culprit. Also look at
httpd-error.log for clues.

./Wash



On 7/2/08, kalin m [EMAIL PROTECTED] wrote:
  

ok...

what to do?

freebsd 7; httpd 2.2.9; php5.2.6 (or 5.1.2)


if the line:
LoadModule php5_modulemodules/libphp5.so

is in the httpd.conf httpd dumps core. no matter which version of php.

php was configured with just this : ./configure
--with-mysql=/usr/local/mysql --with-apxs2=/etc/httpd/bin/apxs

here is some relevant information:

# gdb /etc/httpd/bin/httpd httpd.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as amd64-marcel-freebsd...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /etc/httpd/lib/libaprutil-1.so.3...done.
Loaded symbols for /etc/httpd/lib/libaprutil-1.so.3
Reading symbols from /etc/httpd/lib/libexpat.so.1...done.
Loaded symbols for /etc/httpd/lib/libexpat.so.1
Reading symbols from /etc/httpd/lib/libapr-1.so.3...done.
Loaded symbols for /etc/httpd/lib/libapr-1.so.3
Reading symbols from /lib/libcrypt.so.4...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /lib/libthr.so.3...done.
Loaded symbols for /lib/libthr.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /etc/httpd/modules/libphp5.so...done.
Loaded symbols for /etc/httpd/modules/libphp5.so
Reading symbols from /usr/local/mysql/lib/mysql/libmysqlclient.so.15...done.
Loaded symbols for /usr/local/mysql/lib/mysql/libmysqlclient.so.15
Reading symbols from /usr/local/lib/libxml2.so.5...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libz.so.4...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0008004a8060 in ?? ()
[New Thread 0x801101120 (LWP 100329)]
(gdb)


# httpd -l
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_default.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_default.c
  mod_auth_basic.c
  mod_include.c
  mod_filter.c
  mod_log_config.c
  mod_env.c
  mod_headers.c
  mod_unique_id.c
  mod_setenvif.c
  mod_ssl.c
  prefork.c
  http_core.c
  mod_mime.c
  mod_status.c
  mod_autoindex.c
  mod_asis.c
  mod_cgi.c
  mod_negotiation.c
  mod_dir.c
  mod_actions.c
  mod_userdir.c
  mod_alias.c
  mod_rewrite.c
  mod_so.c


so...  yea  what to do? ?!?

thanks...



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




  

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]