Professional Web Applications Themes

make of PHP 4.3.2 not produce libphp4.so - PHP Development

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 ...

  1. #1

    Default 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
    Robert Blaha Guest

  2. #2

    Default Re: make of PHP 4.3.2 not produce libphp4.so

    Hi Robert!
    On 26 Jun 2003 18:54:25 -0700, [email]robert.blaharbc.cz[/email] (Robert Blaha)
    wrote:
    >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.
    >
    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.
    [url]http://sourceforge.net/projects/phpdbedittk/[/url]
    Jochen Daum Guest

  3. #3

    Default 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


    Josh Guest

  4. #4

    Default 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:
    > >./configure > configure.vysl, make > make.vysl and !!!make install.!!! When
    Jochen Daum <jochen.daumcans.co.nz> wrote in message news:<6jcnfvssqk2lo4l6hviqebnb22e1m79bf94ax.com>. ..
    > Hi Robert!
    > On 26 Jun 2003 18:54:25 -0700, [email]robert.blaharbc.cz[/email] (Robert Blaha)
    > wrote:
    >
    > >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.
    > >
    > Try also make install. I found it funny as well.
    >
    > Jochen
    Robert Blaha Guest

Similar Threads

  1. libphp4.so with --enable-sockets
    By richard in forum PHP Development
    Replies: 2
    Last Post: January 11th, 12:06 PM
  2. binary libphp4.so
    By Richard Jonker in forum PHP Development
    Replies: 0
    Last Post: January 11th, 09:46 AM
  3. #19918 [Com]: no libphp4.so produced
    By max at ingenieria dot uaemex dot mx in forum PHP Development
    Replies: 0
    Last Post: October 8th, 09:33 PM
  4. #25532 [Opn->Bgs]: can't find libphp4.so
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: September 22nd, 11:08 AM
  5. #25532 [NEW]: can't find libphp4.so
    By mk_lai at yahoo dot com in forum PHP Development
    Replies: 0
    Last Post: September 14th, 02:54 PM

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
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139