httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qingjuan Gu" <>
Subject cannot get media type from 'application'
Date Thu, 06 Jun 2002 17:53:14 GMT
Hello everybody,

Now I can access html and .cgi file from web broswer. I installed apache_1.3.24 and php-4.0.6
on Tru64 unix. when I broswer .php file, 

****there are the error message from web broswer:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your
Please contact the server administrator, and inform them of the
time the error occurred, and anything you might have done that may have caused the error.

****and eroor_log:
[Thu Jun  6 13:42:51 2002] [warn] mod_mime: analyze_ct: cannot get media type from 'application'
[Thu Jun  6 13:42:51 2002] [error] (8)Exec format error: exec of /db4/usr/local/www/php/hello.php
[Thu Jun  6 13:42:51 2002] [error] [client] Premature end of script headers: /db4/usr/local/www/php/hello.php

I have setup the httpd.conf to permit php:
LoadModule php4_module        libexec/
ScriptAlias /php-bin/ "/db4/usr/local/www/php/"
    <Directory "/db4/usr/local/www/php">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
AddType application /x-httpd-php .php

But in My mime.types, there is no php-replated application, if needed, what application should
I add?

thank you very much.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message