libphp4.so with --enable-sockets

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

    libphp4.so with --enable-sockets

    Hello,

    I'm using Suse 8.2 out of the box including Apache and PHP. Everthing runs
    fine including Apache and PHP.

    Now, I want to develop a PHP programing including TCP sockets. This part is
    experimental in PHP and not available in the PHP version which comes with
    Suse 8.2. During configuration I need the --with-sockets argument.

    After downloading the source code of PHP I can use sockets connection in my
    program when it runs from the command line. So far, so good.

    Now I have to compile the PHP source code for apache (it must generate the
    libphp4.so). I added the --with-apxs="path to source apache" argument when
    executing the configure script.

    After a while it stops with the message : "apxs:Error : @sbindir@/httpd not
    found or not executable" The apsx cannot find the httpd executable because
    the prefix directory is @sbindir@. It must be /usr/sbin/. When looking into
    apsx (perl script) it looks like that all variable are not set.

    To solve this i have the following options
    1) Does someone have a download location where I can sownload the libphp4.so
    for Suse 8.2 with the option --with-sockets
    2) Does someone know how to solve the build problem.

    Many thanks in advance

    Richard


Working...