SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2002
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP install !! please help

    Installing PHP!! Please Help
    Hi,
    I was installing PHP on RedHat6.1 and while following the steps as in

    http://www.mysql.com/articles/ddws/6.html


    When I try to restart the apache server it say

    Syntax error on Line 205 of /etc/httpd/conf/httpd.conf
    Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration


    Line 205 in httpd.conf

    LoadModule php4_module modules/libphp4.so

    I don't know why it cann't Load this module... Can some one please help me with this..

    Thanks a lot in advance
    Shivani

  2. #2
    Ribbit... Eric.Coleman's Avatar
    Join Date
    Jun 2001
    Location
    In your basement
    Posts
    1,268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try using the full path to the PHP module, as well as making sure it exists where you are specifing.


    ( I need to work on my spelling don't I? )

    -Eric
    Eric Coleman
    We're consentratin' on fallin' apart
    We were contenders, now throwin' the fight
    I just wanna believe, I just wanna believe in us

  3. #3
    SitePoint Enthusiast
    Join Date
    Aug 2002
    Posts
    80
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it doesn't exist in any of the modules... I can see it in php directories

  4. #4
    Ribbit... Eric.Coleman's Avatar
    Join Date
    Jun 2001
    Location
    In your basement
    Posts
    1,268
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Point it to the proper directory, and reboot apache. What happens then?

    Eric
    Eric Coleman
    We're consentratin' on fallin' apart
    We were contenders, now throwin' the fight
    I just wanna believe, I just wanna believe in us

  5. #5
    if($awake){code();} PHP John's Avatar
    Join Date
    Jul 2002
    Location
    Along the Wasatch Fault line.
    Posts
    1,771
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    shivani,

    From the root directory enter this to find the module's absolute path:

    find -name libphp4.so -print
    John

  6. #6
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Moved to a more appropriate forum

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature


Bookmarks

Posting Permissions

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