SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot martin's Avatar
    Join Date
    Jun 2001
    Location
    London
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can't find 'Loadmodule' in apache httpd.conf

    Dear Forum,

    I have compiled PHP 4.0.5 and am trying to find the line in my apache httpd.conf file which will point to my php.ini file in /usr/local/php/

    According to instructions on "Building a Database-Driven Web Site Using PHP and MySQL" when PHP compiled it should have added this line:-

    LoadModule php4_module lib/apache/libphp4.so

    or something similar.

    Well I've double checked and I can't find it in the file. I'm thinking that prehaps I didn't install Apache correctly, should I have added:

    mod_so when I compiled Apache (I just let Apache use it's defaults). Or am I just not looking in the right place.

    I'm using Suse Linux 7.1 PPC. Apache 1.3.20
    Martin

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes you probably should have compiled apache with mod so, so that when you compiled php it would have added the lines for you. I would suggest recompiling Apache with mod so, then compiling php with the following directive added

    --with-apxs=/path/to/apache/bin/apxs
    Please don't PM me with questions.
    Use the forums, that is what they are here for.


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
  •