make of PHP 4.3.2 not produce libphp4.so

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Blaha

    make of PHP 4.3.2 not produce libphp4.so

    Hi,

    I'm runnig Linux/Mandrake9.0-Dolphin and try to update Apache 2.0.46
    and PHP 4.3.2.

    Apache is OK bu with PHP I've problem. I unpacked distribution, run
    ../configure > configure.vysl, make > make.vysl and make install. When
    I search in configure.vysl or make.vysl there is nothing about
    libphp4.so.

    Then when I try /usr/local/apache/bin/apachectl start I've error:

    Syntax error on 1105 of /usr/local/apache2/conf/httpd.conf:
    Cannot load /usr/local/apache2/modules/libphp4.so into server:
    /usr/local/apache2/modules/libphp4.so: cannot open shared object file:
    No such file or directory

    In httpd.conf I have:

    LoadModule php4_module modules/libphp4.so

    When I search whole my computer, there isn't libphp4.so!

    I tried find solution in PHP FAQ, PHP install mailing list and search
    user groups by Google. Similar problems with libphp4.so are discussed
    often but I didn't found solution for my problem.

    Can you help me, please???

    I supposed upgrading PHP take me about 30 min, but now it is over 4
    hours and PHP isn't runnig. I need work on my PHP projects - please
    help!

    Robert
  • Jochen Daum

    #2
    Re: make of PHP 4.3.2 not produce libphp4.so

    Hi Robert!
    On 26 Jun 2003 18:54:25 -0700, robert.blaha@rb c.cz (Robert Blaha)
    wrote:
    [color=blue]
    >Hi,
    >
    >I'm runnig Linux/Mandrake9.0-Dolphin and try to update Apache 2.0.46
    >and PHP 4.3.2.
    >
    >Apache is OK bu with PHP I've problem. I unpacked distribution, run
    >./configure > configure.vysl, make > make.vysl and make install. When
    >I search in configure.vysl or make.vysl there is nothing about
    >libphp4.so.
    >[/color]
    Try also make install. I found it funny as well.

    Jochen
    --
    Jochen Daum - CANS Ltd.
    PHP DB Edit Toolkit -- PHP scripts for building
    database editing interfaces.
    Download PHP DB Edit Toolkit for free. PHP DB Edit Toolkit is a set of PHP classes makes the generation of database edit interfaces easier and faster. The main class builds tabular and form views based on a data dictionary and takes over handling of insert/update/delete and user input.

    Comment

    • Josh

      #3
      Re: make of PHP 4.3.2 not produce libphp4.so

      Hi,

      When you run the configure script, you need to tell it to build the
      apache module.

      Assuming you have already installed apache 2, do

      ../configure --with-apxs2=[FILE]

      where [FILE] is the full path + file name to the apxs tool in the apache
      bin directory. It should be something like /usr/local/apache/bin/apxs



      regards,
      Josh


      Comment

      • Robert Blaha

        #4
        Re: make of PHP 4.3.2 not produce libphp4.so

        Hi Jochen,

        thanks for your time, but ran "make install". Have you another idea?
        See:
        [color=blue][color=green]
        > >./configure > configure.vysl, make > make.vysl and !!!make install.!!! When[/color][/color]

        Jochen Daum <jochen.daum@ca ns.co.nz> wrote in message news:<6jcnfvssq k2lo4l6hviqebnb 22e1m79bf9@4ax. com>...[color=blue]
        > Hi Robert!
        > On 26 Jun 2003 18:54:25 -0700, robert.blaha@rb c.cz (Robert Blaha)
        > wrote:
        >[color=green]
        > >Hi,
        > >
        > >I'm runnig Linux/Mandrake9.0-Dolphin and try to update Apache 2.0.46
        > >and PHP 4.3.2.
        > >
        > >Apache is OK bu with PHP I've problem. I unpacked distribution, run
        > >./configure > configure.vysl, make > make.vysl and make install. When
        > >I search in configure.vysl or make.vysl there is nothing about
        > >libphp4.so.
        > >[/color]
        > Try also make install. I found it funny as well.
        >
        > Jochen[/color]

        Comment

        Working...