>> Or add the following lines to /etc/apache/httpd.conf, preferably >> between <IfModule mod_mime.c> and its ending tag >> >> AddType application/x-httpd-php .php >> AddType application/x-httpd-php-source .phps
> I noticed in the error log file that it was having a problem loading the > magic file. The http.conf file was pointing to share/magic, which apache > resolves to mean /etc/apache/share/magic. <snip> Thanks for pointing it out, I get that error too, but hadn't noticed However, php works like a charm here, just by adding the 2 lines above and uncommenting the LoadModule line for php (of course ;-)) > So I've pointed apache to /usr/share/misc/magic. PHP now works, but on > restarting apache I get a long list of invalid entries from the magic > file (examples): <snip> > So I guess my question now is: > > Am I using the right magic file? > And if not, which magic file should I be using? /etc/magic is empty - > should I be using that one? I guess neither. Those magic files were made for file(1), as it says in the comments. You can download the apache flavoured one at http://cvs.apache.org/viewcvs.cgi/apache-1.3/conf/magic (then 'download') I just tried it, and restarted apache. There are no errors anymore. I think it is a flaw in the debian package. Can anyone help me with filing a bugreport? I think 2 things should be changed: 1. include apache-1.3/conf/magic -> /etc/apache/magic 2. change line "MIMEMagicFile share/magic" to "MIMEMagicFile magic" Is this any good? Is there a reason not to do this? Just my 2 cents, Joris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]