NEED help with httpd.conf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Va2k
    I’m still alive barley.
    • Oct 2001
    • 10060

    #1

    NEED help with httpd.conf

    hey question for you all when I try to load a module in the httpd.conf file
    Extra Modules
    AddModule mod_php.c
    #AddModule mod_php3.c
    #AddModule mod_perl.c
    is there anywhere else I need to edit this?
    I uncommented addmodule mod_php.c and my php works now but my site manger dont
    anyone know how to help on this?
  • mike503
    Confirmed User
    • May 2002
    • 2243

    #2
    Originally posted by va2k
    hey question for you all when I try to load a module in the httpd.conf file
    Extra Modules
    AddModule mod_php.c
    #AddModule mod_php3.c
    #AddModule mod_perl.c
    is there anywhere else I need to edit this?
    I uncommented addmodule mod_php.c and my php works now but my site manger dont
    anyone know how to help on this?
    well typically you have:

    LoadModules, then a ClearModuleList, then AddModule, like this:

    LoadModule php4_module libexec/libphp4.so
    (other modules loaded..)
    ClearModuleList
    AddModule mod_php4.c
    (same order as above..)

    what version of php is this? etc.
    php/mysql guru. hosting, coding, all that jazz.

    Comment

    • Va2k
      I’m still alive barley.
      • Oct 2001
      • 10060

      #3
      php4

      Comment

      • Va2k
        I’m still alive barley.
        • Oct 2001
        • 10060

        #4
        btw do i need to uncomment this
        because mod_perl leaks, this is included by default
        #LoadModule perl_module /usr/lib/apache/libperl.so

        Comment

        • mike503
          Confirmed User
          • May 2002
          • 2243

          #5
          if it leaks and you don't need it, leave it commented out.. duhh
          php/mysql guru. hosting, coding, all that jazz.

          Comment

          • Va2k
            I’m still alive barley.
            • Oct 2001
            • 10060

            #6
            Originally posted by mike503
            if it leaks and you don't need it, leave it commented out.. duhh
            hey now Im just learning this crap with httpd.conf lol

            Comment

            • Va2k
              I’m still alive barley.
              • Oct 2001
              • 10060

              #7
              well shit guess I fixed it
              I commented that mod_php.c and uncommented
              LoadModule php_module modules/mod_php.so
              it works now but now im getting a error saying my ssl
              Invalid certificates for main site -- Not starting SSL
              /usr/sbin/httpd

              Comment

              Working...