linux/apache/php help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • etech
    Confirmed User
    • Feb 2004
    • 1148

    #1

    linux/apache/php help

    Im trying to compile apache and php on my box, but it wont create the libphp4.so file.
    What am i doing wrong ?
    Here is my PHP configure command
    ./configure ./configure --prefix=/usr/local/php4 --with-apxs2=/usr/local/apache2/bin/apxs --with-libxml-dir=/usr/local/lib --with-zlib --with-zlib-dir=/usr/local/lib --with-mysql=/usr --enable-soap --enable-sockets --with-jpeg-dir=/usr --enable-exif

    make
    make install

    Here is my apache configure command

    ./configure --prefix=/usr/local/apache2 --enable-so
    make
    make install

    Both apache and PHP are successfully compiled, but the libphp4.so is not to be found anywhere on the system, should be placed in ...../apache2/modules/
  • JFPdude
    Confirmed User
    • Jan 2002
    • 4027

    #2
    Your using apache 2 ?

    Comment

    • Weppel
      Confirmed User
      • Aug 2003
      • 2190

      #3
      1. run your configure script as it is
      2. Open the libtool file that is created in the php source directory
      3. find the variable definition: deplibs_check_method=
      4. edit it to read: deplibs_check_method="pass_all"
      5. run make

      Next time, use google. It's filled with libphp4.so build problems

      Comment

      • etech
        Confirmed User
        • Feb 2004
        • 1148

        #4
        Originally posted by Weppel
        1. run your configure script as it is
        2. Open the libtool file that is created in the php source directory
        3. find the variable definition: deplibs_check_method=
        4. edit it to read: deplibs_check_method="pass_all"
        5. run make

        Next time, use google. It's filled with libphp4.so build problems
        It's allready set to pass_all

        Comment

        • etech
          Confirmed User
          • Feb 2004
          • 1148

          #5
          Originally posted by JFPdude
          Your using apache 2 ?
          yes, im using apache 2

          Comment

          • bringer
            i have man boobies
            • Jul 2003
            • 13082

            #6
            its /modules not /bin
            333-765-551

            Comment

            • bringer
              i have man boobies
              • Jul 2003
              • 13082

              #7
              its true
              333-765-551

              Comment

              • bringer
                i have man boobies
                • Jul 2003
                • 13082

                #8
                nevermind, i need sleep
                333-765-551

                Comment

                • etech
                  Confirmed User
                  • Feb 2004
                  • 1148

                  #9
                  Originally posted by bringer
                  its /modules not /bin
                  ohh, libphp*.so should be placed in modules

                  Comment

                  • bringer
                    i have man boobies
                    • Jul 2003
                    • 13082

                    #10
                    Originally posted by etech
                    ohh, libphp*.so should be placed in modules
                    AddType application/x-httpd-php .php
                    LoadModule php4_module /usr/local/apache2/modules/libphp4.so
                    333-765-551

                    Comment

                    • etech
                      Confirmed User
                      • Feb 2004
                      • 1148

                      #11
                      Originally posted by bringer
                      AddType application/x-httpd-php .php
                      LoadModule php4_module /usr/local/apache2/modules/libphp4.so
                      well i know that, the problem is that the libphp4.so file isn't generated when its build

                      Comment

                      • bringer
                        i have man boobies
                        • Jul 2003
                        • 13082

                        #12
                        Originally posted by etech
                        well i know that, the problem is that the libphp4.so file isn't generated when its build
                        is there a libphp4 file there without the .so?
                        if so try renaming it
                        333-765-551

                        Comment

                        • bringer
                          i have man boobies
                          • Jul 2003
                          • 13082

                          #13
                          google said add this
                          --disable-cgi --enable-force-cgi-redirect
                          333-765-551

                          Comment

                          • Screaming
                            I can change this!!!!!
                            • Feb 2004
                            • 18972

                            #14
                            im of no help, sorry, but you can still see my siggy

                            Comment

                            Working...