vi /usr/local/apache2/conf/httpd.conf - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    tidy_boy Guest

    vi /usr/local/apache2/conf/httpd.conf

    Hi there I have been using this guide to set up apache php and mysql correctly I have finished the whole guide

    but when I try to start apache with this command
    /usr/local/apache2/bin/apachectl start

    I get this error
    Syntax error on line 119 of /usr/local/apache2/conf/httpd.conf:
    Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

    I think its this that i added earlier in the tutorial is in the wrong place

    LoadModule php4_module modules/

    in the httpd.conf I have put it like this

    # Dynamic Shared Object (DSO) Support
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    # Example:
    #LoadModule foo_module modules/
    LoadModule php4_module        modules/
    <IfModule !mpm_winnt_module>
    <IfModule !mpm_netware_module>

    IS this correct? PLease me

  2. #2
    Join Date
    Nov 2005
    Hmm, I think you should have used "yum install httpd mysqld php php-mysql" to install these packages. That will get you newer versions, too.

  3. #3
    Join Date
    Dec 2005
    Athens - Greece

    First of all you must tell us what did you use?
    Linux Fedora Core
    current version: ?????
    current version: 2.0.48 ???
    current version: 4.0.16 ????
    current version: 4.3.4 ????

    All taken by...
    News and ideas about programming

  4. #4
    tidy_boy Guest
    I have sorted this thread. Thanks for replying tho

Similar Threads

  1. Replies: 2
    Last Post: 5th April 2007, 12:54 AM
  2. ci problems with /etc/httpd/conf/httpd.conf
    By lonelylost_brar in forum Servers & Networking
    Replies: 2
    Last Post: 8th June 2005, 08:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts