Leser: 23
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# ./apachectl -l
Compiled in modules:
core.c
mod_access.c
mod_auth.c
mod_include.c
mod_log_config.c
mod_env.c
mod_setenvif.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_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_so.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# yum install libapache2-mod-php5
Loading "rhnplugin" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
unibay 100% |=========================| 1.1 kB 00:00
extras 100% |=========================| 1.9 kB 00:00
updates 100% |=========================| 1.9 kB 00:00
freshrpms 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: libapache2-mod-php5
Nothing to do
[1]+ Done yumex (wd: /usr/local/apache/htdocs)
(wd now: /usr/local/apache/bin)
1
2
3
4
5
6
7
8
# locate mod_php
/Programme/php5/php-5.2.8/sapi/apache/mod_php5.c
/Programme/php5/php-5.2.8/sapi/apache/mod_php5.exp
/Programme/php5/php-5.2.8/sapi/apache/mod_php5.h
/Programme/php5/php-5.2.8/sapi/apache2handler/mod_php5.c
/Programme/php5/php-5.2.8/sapi/apache_hooks/mod_php5.c
/Programme/php5/php-5.2.8/sapi/apache_hooks/mod_php5.exp
/Programme/php5/php-5.2.8/sapi/apache_hooks/mod_php5.h
1
2
3
ScriptAlias /php/ "/usr/local/bin/php/"
AddType application/x-httpd-php .php .php4 .phtml
Action application/x-httpd-php "/php/php"
[error] [client 10.42.253.3] Premature end of script headers: php
1
2
find / -type d -name "*php*" -print | xargs -ixxx find xxx -type d -name lib
/usr/local/include/php/ext/date/lib