AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  PHP5 Difficulties

    Posted Sat August 04, 2007 12:48 AM

    Originally posted by: SystemAdmin


    I have compiled and installed the latest Apache 2.0 and PHP5 on AIX 5.3 following the directions in the IBM AIX Wiki. Everything compiles fine, no errors. However whenever I insert the PHP5 module I am greated withe the following error.

    1. /usr/local/apache/bin/apachectl start
    Syntax error on line 1036 of /usr/local/apache/conf/httpd.conf:
    Cannot load /usr/local/apache/modules/libphp5.so into server: rtld: 0712-001 Symbol apr_pstrdup was referenced\n from module /usr/local/apache/modules/libphp5.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol apr_table_set was referenced\n from module /usr/local/apache/modules/libphp5.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol apr_table_add was referenced\n from module /usr/local/apache/modules/libphp5.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol apr_brigade_flatten was referenced\n from module /usr/local/apache/modules/libphp5.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol apr_brigade_cleanup was referenced\n from module /usr/local/apache/modules/libphp5.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol apr_table_get was referenced\n from module /usr/local/apache/modules/libphp5.so(), but a runtime definition\n of the symbol was not found.\nrtld: 0712-001 Symbol apr_table_elts was referenced\n from module /usr/local/apache/modules/libphp5.so(), but a runtime definition\n of the symbol was not found.\n\t0509-021 Additional errors occurred but are not reported.

    A year or so ago I compiled this software without a problem. I have been searching Google and recompiling for a couple days. I tried both Apache 2.0 and Apache 2.2. Both work fine until I add PHP5 into the mix. Any help would be greatly appreciated. Thanks so much.
    #AIX-Forum


  • 2.  Re: PHP5 Difficulties

    Posted Mon August 06, 2007 09:33 AM

    Originally posted by: BruceSpencer



    What's on line 1036 in http.conf?

    Are you starting the right version of Apache? This looks like a problem I had when I installed two versions of Apache (1.3 and 2.0). I was starting the wrong version.
    #AIX-Forum


  • 3.  Re: PHP5 Difficulties

    Posted Tue August 07, 2007 07:27 AM

    Originally posted by: SystemAdmin


    I suspect that this might be a problem with your LIBPATH. Try running the command:

    ldd /usr/local/apache/modules/libphp5.so

    from the same shell prompt that your apachectl is failing. If you get some messages about missing libraries you'll have to adjust your LIBPATH so that they can be found.

    HTH

    Jim Lane
    #AIX-Forum