php4的问题????????

php4的问题????????

我的系统是debian的testing,通过apt安的apache1.3+php4+mysql。mysql能用,apache的测试页也能看到。但php文件不能运行。府上/var/log/apache/error.log:
debian:/var/www# cat ../log/apache/error.log
[Sun Apr 2 08:40:59 2006] [error] mod_mime_magic: type regex\t\tBEGIN[[:space:]]*[{]\tapplication/x-awk invalid
[Sun Apr 2 08:40:59 2006] [error] mod_mime_magic: type regex\t\tBEGIN[[:space:]]*[{]\tapplication/x-awk invalid
[Sun Apr 2 08:40:59 2006] [notice] Apache/1.3.34 (Debian) configured -- resuming normal operations
[Sun Apr 2 08:40:59 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Apr 2 09:02:53 2006] [notice] SIGHUP received. Attempting to restart
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
[Sun Apr 2 09:02:53 2006] [error] mod_mime_magic: type regex\t\tBEGIN[[:space:]]*[{]\tapplication/x-awk invalid
[Sun Apr 2 09:02:53 2006] [notice] Apache/1.3.34 (Debian) PHP/4.4.2-1 mod_perl/1.29 configured -- resuming normal operations[Sun Apr 2 09:02:53 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sun Apr 2 09:36:36 2006] [notice] SIGHUP received. Attempting to restart
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0
[Sun Apr 2 09:36:37 2006] [error] mod_mime_magic: type regex\t\tBEGIN[[:space:]]*[{]\tapplication/x-awk invalid
[Sun Apr 2 09:36:37 2006] [notice] Apache/1.3.34 (Debian) PHP/4.4.2-1 mod_perl/1.29 configured -- resuming normal operations[Sun Apr 2 09:36:37 2006] [notice] Accept mutex: sysvsem (Default: sysvsem)
MIME 配置里面的 application/x-awk 项有问题。

看你的 /etc/apache/magic 文件(应该是这个吧,Apache 1.3.X 好久没用了),在里面查找一下包含“application/x-awk”的行,看看它跟其他行相比有什么异常处。