vi /usr/local/apache2/conf/httpd.conf
FedoraForum.org - 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 http://www.hostlibrary.com/installin...l_php_on_linux 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/libphp4.so

    in the httpd.conf I have put it like this

    Code:
    # 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/mod_foo.so
    LoadModule php4_module        modules/libphp4.so
    
    
    <IfModule !mpm_winnt_module>
    <IfModule !mpm_netware_module>

    IS this correct? PLease me

  2. #2
    Join Date
    Nov 2005
    Posts
    451
    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
    Location
    Athens - Greece
    Age
    44
    Posts
    46
    tidy_boy

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

    All taken by...
    http://www.hostlibrary.com/installin...l_php_on_linux
    Visit...
    http://www.kanenas.net
    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
  •