argh, just realised that file is only partial config so I changed the httpd.conf to include that 'so called' broken config and when i do a 'httpd -t' i now get the real error message below :
PHP Code:
Syntax error on line 30 of /etc/httpd/conf.d/php.conf:
Invalid command 'DirectoryIndex', perhaps misspelled or defined by a module not included in the server configuration
So inside php.conf I have :
PHP Code:
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
#LoadModule php4_module modules/libphp4.so
LoadModule php5_module /home/httpd/libexec/libphp5.so
# Use for PHP 4.x
#AddHandler php-script php
#
# Cause the PHP interpreter handle files with a .php extension.
#
# Ref: http://bugs.php.net/bug.php?id=22881
# Since 4.3.2RC the default Apache 2 sapi is the apache2handler and is no
# longer filter based. Therefor you should use
#AddType application/x-httpd-php php
#AddType application/x-httpd-php-source phps
<Files *.php>
LimitRequestBody 20000000
</Files>
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.php
So i don't know why it's complaining about that. Is it possible that the Include conf/*.conf line in the main httpd.conf is in a bad spot which is loading before a number of required modules are not loaded???
I might just move the line down a fair bit and see what happens........
Recent comments
20 hours 58 min ago
1 day 3 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 17 hours ago
2 days 3 hours ago
2 days 3 hours ago
2 days 7 hours ago
2 days 11 hours ago
2 days 12 hours ago