RE: [PHP-INSTALL] PHP Install Problems on Solaris -8
| From: | Naman Latif | Date: | Tue, 18 Nov 2003 19:38:38 +0000 |
| Subject: | RE: [PHP-INSTALL] PHP Install Problems on Solaris -8 | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12270@lists.php.net to get a copy of this message | ||
Actually it did give me an error.
++++++++
bash-2.05# /var/apache/bin/apachectl configtest
Syntax error on line 825 of /var/apache/conf/httpd.conf:
Invalid command 'AddType1', perhaps mis-spelled or defined by a module
not included in the server configuration
+++++++++++
However I was finally able to solve this by adding "ClearModuleList" and
then adding ALL the modules again. "httpd -l" showed that mod_mime.c was
pre-compiled with httpd and I don't know why it wasn't considering the
statement under " <IfModule mod_mime.c>".
However clearing helped. It is working now.
Thanks.
-----Original Message-----
From: Chris Hewitt [mailto:g0pae@manordat.demon.co.uk]
Sent: Tuesday, November 18, 2003 11:13 AM
To: Naman Latif
>
Namen,
It could be the mod_mime is not there so the <IfModule> condition is not
being filled. In these circumstances I purposely put a syntax error in,
restart Apache and see if it complains. Try changing AddType to, say,
AddTypeFred and restart Apache. If it does not complain then you will
know that the mod_mime condition is not being fulfilled.
Hope this helps.
Chris