DSO with apache and php - SCO

This is a discussion on DSO with apache and php - SCO ; Apache v 2.0.54 php 4.4.1 SCO 5.05 STEP 1 Apache ../configure --enable-module=shared make make install ../apachectl start comes up and stops ok. STEP2 PHP ../configure --prefix=/usr/local/php --without-mysql --with-informix --with-apxs2=/usr/local/apache2/bin/apxs --enable-shared --enable-track-vars make make install Everything compiling, and installed smoothly. /usr/local/php/bin/php ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: DSO with apache and php

  1. DSO with apache and php

    Apache v 2.0.54
    php 4.4.1
    SCO 5.05

    STEP 1
    Apache
    ../configure --enable-module=shared
    make
    make install
    ../apachectl start
    comes up and stops ok.

    STEP2
    PHP
    ../configure --prefix=/usr/local/php --without-mysql --with-informix
    --with-apxs2=/usr/local/apache2/bin/apxs --enable-shared --enable-track-vars
    make
    make install

    Everything compiling, and installed smoothly.
    /usr/local/php/bin/php -i works
    made sure AddModule is in conf

    # ./apachectl start
    Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf:
    Cannot load /usr/local/apache2/modules/libphp4.so into server: dynamic
    linker: /usr/local/apache2/bin/httpd: relocation error: symbol not
    found: getspnam

    Any ideas?
    Thanks in Advance.


  2. Re: DSO with apache and php

    Will add that I have added the environment variable
    LD_LIBRARY_PATH LIBPATH to apache startup.


    Leroy Janda wrote:

    > Apache v 2.0.54
    > php 4.4.1
    > SCO 5.05
    >
    > STEP 1
    > Apache
    > ./configure --enable-module=shared
    > make
    > make install
    > ./apachectl start
    > comes up and stops ok.
    >
    > STEP2
    > PHP
    > ./configure --prefix=/usr/local/php --without-mysql --with-informix
    > --with-apxs2=/usr/local/apache2/bin/apxs --enable-shared
    > --enable-track-vars
    > make
    > make install
    >
    > Everything compiling, and installed smoothly.
    > /usr/local/php/bin/php -i works
    > made sure AddModule is in conf
    >
    > # ./apachectl start
    > Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf:
    > Cannot load /usr/local/apache2/modules/libphp4.so into server: dynamic
    > linker: /usr/local/apache2/bin/httpd: relocation error: symbol not
    > found: getspnam
    >
    > Any ideas?
    > Thanks in Advance.
    >



  3. Re: DSO with apache and php


    Leroy Janda wrote:
    > Apache v 2.0.54
    > php 4.4.1
    > SCO 5.05
    >
    > STEP 1
    > Apache
    > ./configure --enable-module=shared
    > make
    > make install
    > ./apachectl start
    > comes up and stops ok.
    >
    > STEP2
    > PHP
    > ./configure --prefix=/usr/local/php --without-mysql --with-informix
    > --with-apxs2=/usr/local/apache2/bin/apxs --enable-shared --enable-track-vars
    > make
    > make install
    >
    > Everything compiling, and installed smoothly.
    > /usr/local/php/bin/php -i works
    > made sure AddModule is in conf
    >
    > # ./apachectl start
    > Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf:
    > Cannot load /usr/local/apache2/modules/libphp4.so into server: dynamic
    > linker: /usr/local/apache2/bin/httpd: relocation error: symbol not
    > found: getspnam


    You don't say what compiler you/configure are using, and what version
    of that compiler. There were several problems back then with building
    the plugin libraries that Apache uses. An update to a more recent
    version
    of SCO OpenServer would be the best way to proceed.

    Jonathan Schilling


+ Reply to Thread