Apache not interpreting PHP after a few minutes?
Karl M. Joch
k.joch at kmjeuro.com
Tue May 4 23:11:58 PDT 2004
Hello,
I have 2 (of about 50 servers) where it looks like that Apache looses
the PHP module after a few Minutes and Phpmyadmin sends the PHP source
code. When starting Apache everything works fine and also when giving a
kill -HUP on Apache it works for a few minutes again. This happens on a
4.9 and on a 5.2.1 box which are the only ones having php 4.3.4 on it.
Any ideas or known problems? Many thanks for any hint.
Server Version: Apache/2.0.48 (Unix) mod_perl/1.99_12 Perl/v5.6.1
PHP/4.3.4 mod_ssl/2.0.48 OpenSSL/0.9.7c-p1
Server Built: Mar 18 2004 00:06:51
API Version: 20020903:4
Hostname/port: host.name:443
Timeouts: connection: 300 keep-alive: 300
MPM Name: Prefork
MPM Information: Max Daemons: 150 Threaded: no Forked: yes
Server Root: /usr/local
Config File: etc/apache2/httpd.conf
Module Name: sapi_apache2.c
Content handlers: yes
Configuration Phase Participation: Create Directory Config, Merge
Directory Configs
Request Phase Participation: none
Module Directives:
php_value - PHP Value Modifier
php_flag - PHP Flag Modifier
php_admin_value - PHP Value Modifier (Admin)
php_admin_flag - PHP Flag Modifier (Admin)
PHPINIDir - Directory containing the php.ini file
Current Configuration:
<Directory "/usr/local/www/data">
php_flag engine Off
php_flag display_errors Off
</Directory>
<Directory /usr/home/www/public_html>
php_flag engine On
php_flag display_errors Off
</Directory>
<Directory /usr/home/www/public_html/phpmyadmin>
php_flag engine On
php_flag display_errors Off
</Directory>
<Directory "/usr/local/www/icons">
php_flag engine Off
php_flag display_errors Off
</Directory>
<Directory "/usr/local/www/cgi-bin">
php_flag engine Off
php_flag display_errors Off
</Directory>
<Directory "/usr/local/www/error">
php_flag engine Off
php_flag display_errors Off
</Directory>
<VirtualHost x.x.x.x:80>
php_flag engine Off
php_flag display_errors Off
</VirtualHost>
<VirtualHost x.x.x.x:80>
php_flag engine Off
php_flag display_errors Off
</Location>
Module Name: mod_perl.c
Content handlers: yes
Configuration Phase Participation: Create Directory Config, Merge
Directory Configs, Create Server Config, Merge Server Configs
Request Phase Participation: Post-Read Request, Header Parse, Translate
Path, Check Access, Verify User ID, Verify User Access, Check Type,
Fixups, Logging
Module Directives:
PerlSwitches - Perl Switches
PerlModule - PerlModule
PerlRequire - PerlRequire
PerlOptions - Perl Options
PerlInitHandler - Subroutine name
PerlSetVar - PerlSetVar
PerlAddVar - PerlAddVar
PerlSetEnv - PerlSetEnv
PerlPassEnv - PerlPassEnv
<Perl - Perl Code
Perl - Perl Code
PerlSetInputFilter - filter[;filter]
PerlSetOutputFilter - filter[;filter]
=pod - Start of POD
=back - End of =over
=cut - End of POD
__END__ - Stop reading config
PerlLoadModule - A Perl module
PerlSendHeader - Tell mod_perl to scan output for HTTP headers
PerlSetupEnv - Turn setup of %ENV On or Off
PerlHandler - Subroutine name
PerlTaintCheck - Turn on -T switch
PerlWarn - Turn on -w switch
PerlChildInitHandler - Subroutine name
PerlChildExitHandler - Subroutine name
PerlOpenLogsHandler - Subroutine name
PerlPostConfigHandler - Subroutine name
PerlPreConnectionHandler - Subroutine name
PerlProcessConnectionHandler - Subroutine name
PerlHeaderParserHandler - Subroutine name
PerlAccessHandler - Subroutine name
PerlAuthenHandler - Subroutine name
PerlAuthzHandler - Subroutine name
PerlTypeHandler - Subroutine name
PerlFixupHandler - Subroutine name
PerlResponseHandler - Subroutine name
PerlLogHandler - Subroutine name
PerlCleanupHandler - Subroutine name
PerlInputFilterHandler - Subroutine name
PerlOutputFilterHandler - Subroutine name
PerlPostReadRequestHandler - Subroutine name
PerlTransHandler - Subroutine name
PerlMapToStorageHandler - Subroutine name
Current Configuration:
PerlModule Apache2
PerlModule Apache::compat
<VirtualHost x.x.x.x:80>
PerlRequire "/usr/local/etc/apache2/perl-conf/conf.pl
<Location "/metadot/">
PerlResponseHandler ModPerl::Registry
</Location>
--
Best regards / Mit freundlichen Gruessen,
Karl M. Joch
CTS Consulting & Trade Service
A-5020 Salzburg, Fuerstallergasse 36
http://www.ctseuro.com
Tel: +43-662-621559-0
Fax: +43-662-621559-22
Unsere Services:
http://www.ctseuro.com - Netzwerk und Sicherheitstechnik
http://www.eushop.net - ASP:Onlineshop und Applikationen einfach mieten
http://www.freebsd.at - Das Power Betriebssystem
http://www.mydynip.org - Dynamischer DNS Service
More information about the freebsd-stable
mailing list