You are here: Re: [PHP] Re: Building sapi_apache2 « PHP « IT news, forums, messages
Re: [PHP] Re: Building sapi_apache2

Posted by Gaby vanhegan on 07/06/05 01:40

On 5 Jul 2005, at 21:38, Richard Lynch wrote:

>> ./configure --with-apxs2=/usr/sbin/apxs \
>
> Is that really really 100% for sure guaranteed an Apache 2 apxs and not
> some left-over Apache 1.x apxs script?...
>
> Isn't the Apache2 apxs named, like, apxs2 ???

That's what I thought, but there's only one apxs on the system, and
that's it. There's also only one flavour of Apache installed on the
system, and thats 2.0.51. I'm fairly sure that it's right. I also
compared the verison of apxs on the system with the one in the source
tarball for httpd-2.0.54, and they're pretty much the same thing.
Here's some version information and some file location information, if
it'll help.

# /usr/sbin/httpd -V
Server version: Apache/2.0.51
Server built: Nov 12 2004 10:10:20
Server's Module Magic Number: 20020903:9
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="logs/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
# locate apxs
/usr/share/man/man8/apxs.8.gz
/usr/share/man/fr/man1/apxs.1.gz
/usr/sbin/apxs
# ls -lFa /usr/sbin | grep apxs
-rwxr-xr-x 1 root root 21528 Nov 12 2004 apxs*
# ls -lFa /usr/sbin | grep httpd
-rwxr-xr-x 1 root root 265976 Nov 12 2004 httpd*
-rwxr-xr-x 1 root root 274816 Nov 12 2004 httpd.worker*
# yum list installed | grep httpd
httpd i386 2.0.51-2.9 db
httpd-devel i386 2.0.51-2.9 db

> I suppose I should go read some documentation about what sapi_apache2
> actually means/does... Nah. I won't have time to play with it anyway.
> Why torture myself?

I'll send you a beer? :)

Gaby

--
Junkets for bunterish lickspittles since 1998!
gaby@vanhegan.net
http://weblog.vanhegan.net

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация