AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
Expand all | Collapse all

Apache with PHP issues on AIX 6.1

  • 1.  Apache with PHP issues on AIX 6.1

    Posted Mon September 24, 2018 01:02 PM

    Originally posted by: JeyaseelanYesudason


    Hi, I need support to install and configure the Apache with PHP on AIX server 6.1

    I have installed the Apache and PHP RPM and from IBM Linux Toolbox. 

    I am getting error with PHP as given below

    root@CFRSV50251003AP(/)#oslevel -s
    6100-09-10-1731
    root@CFRSV50251003AP(/)#

     

    root@CFRSV50251003AP(/)#php -v
    Could not load program php:
    Could not load module /opt/freeware/lib/libldap.a(libldap-2.4.so.2).
            Dependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.2) could not be loaded.
            Member libcrypto.so.1.0.2 is not found in archive
    Could not load module php.
            Dependent module /opt/freeware/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
    Could not load module .
    root@CFRSV50251003AP(/)#

     

    root@CFRSV50251003AP(/)#/opt/freeware/sbin/apachectl restart
    httpd: Syntax error on line 537 of /opt/freeware/etc/httpd/conf/httpd.conf: Syntax error on line 6 of /opt/freeware/etc/httpd/conf/extra/httpd-php.conf: Cannot load modules/libphp7.so into server: Could not load module /opt/freeware/lib/libldap.a(libldap-2.4.so.2).\n\tDependent module /usr/lib/libcrypto.a(libcrypto.so.1.0.2) could not be loaded.\n\tMember libcrypto.so.1.0.2 is not found in archive \nCould not load module /opt/freeware/etc/httpd/modules/libphp7.so.\n\tDependent module /opt/freeware/lib/libldap.a(libldap-2.4.so.2) could not be loaded.
    root@CFRSV50251003AP(/)#

     

    Installed version :

    root@CFRSV50251003AP(/)#rpm -qa | grep -i http
    httpd-2.4.34-1
    httpd-devel-2.4.34-1
    httpd-manual-2.4.34-1
    root@CFRSV50251003AP(/)#rpm -qa | grep -i php
    php-7.0.30-1
    php-common-7.0.30-1
    php-cli-7.0.30-1
    php-devel-7.0.30-1

    If anyone face this same issue and have any solutions, kindly let me know. 

    also if you need any more outputs, let me know to share the same

     



  • 2.  Re: Apache with PHP issues on AIX 6.1

    Posted Tue September 25, 2018 12:23 AM

    Originally posted by: sangameshm


    What version of openssl fileset is installed in the machine ?

    Please provide the output of these commands.

     

    lslpp -L | grep openssl

    ar -X32_64 -tv /usr/lib/libcrypto.a

    ar -X32_64 -tv /usr/lib/libssl.a

     

    Thanks,

    Sangamesh



  • 3.  Re: Apache with PHP issues on AIX 6.1

    Posted Tue September 25, 2018 06:00 AM

    Originally posted by: JeyaseelanYesudason


    Thanks for your response, The requested ouput is given below

    lslpp -L | grep openssl
      openssl.base            1.0.2.1300    CE    F    Open Secure Socket Layer
      openssl.license         1.0.2.1300    C     F    Open Secure Socket License
      openssl.man.en_US       1.0.2.1300    C     F    Open Secure Socket Layer

     

    ar -X32_64 -tv /usr/lib/libcrypto.a
    rwxr-xr-x     0/0     3050275 Jan  5 22:00 2018 libcrypto.so
    rw-r--r--     0/0     2186744 Jan  5 22:00 2018 libcrypto.so.0.9.8
    rwxr-xr-x     0/0     3050275 Jan  5 22:00 2018 libcrypto.so.1.0.0
    rwxr-xr-x     0/0     3465267 Jan  5 22:00 2018 libcrypto64.so
    rw-r--r--     0/0     2527801 Jan  5 22:00 2018 libcrypto64.so.0.9.8
    rwxr-xr-x     0/0     3465267 Jan  5 22:00 2018 libcrypto64.so.1.0.0

     

    ar -X32_64 -tv /usr/lib/libssl.a
    rwxr-xr-x     0/0     729439 Jan  5 22:01 2018 libssl.so
    rw-r--r--     0/0     510766 Jan  5 22:01 2018 libssl.so.0.9.8
    rwxr-xr-x     0/0     729439 Jan  5 22:01 2018 libssl.so.1.0.0
    rwxr-xr-x     0/0     826664 Jan  5 22:01 2018 libssl64.so
    rw-r--r--     0/0     577564 Jan  5 22:01 2018 libssl64.so.0.9.8
    rwxr-xr-x     0/0     826664 Jan  5 22:01 2018 libssl64.so.1.0.0

    Thanks : Jey



  • 4.  Re: Apache with PHP issues on AIX 6.1

    Posted Tue September 25, 2018 12:24 AM

    Originally posted by: AyappanP


    Openldap installed in your machine doesn't seems to be from AIX Toolbox. Just check and try to install the one from AIX Toolbox. 



  • 5.  Re: Apache with PHP issues on AIX 6.1

    Posted Tue September 25, 2018 06:03 AM

    Originally posted by: JeyaseelanYesudason


    Thanks for your response, Please find the details, 

    We have installed the openldap fileset from AIX toolbox only. The installed version is given below

    rpm -qa | grep -i open
    openldap-devel-2.4.44-5
    openldap-2.4.44-5
     

    Thanks : Jey

     



  • 6.  Re: Apache with PHP issues on AIX 6.1

    Posted Tue September 25, 2018 06:57 AM

    Originally posted by: AyappanP


    No, this rpm is not from AIX Toolbox. Please get the one from AIX Toolbox.

    And use yum install packages. Check yum topics in this forum to find out how to do that. 



  • 7.  Re: Apache with PHP issues on AIX 6.1

    Posted Tue September 25, 2018 10:19 AM

    Originally posted by: JeyaseelanYesudason


    Thanks for your response, 

    Does openldap is really needed for PHP,

     

    Also getting below error message, what is refers to

     

    ldd /usr/bin/php
    /usr/bin/php needs:
             /opt/freeware/lib/libldap.a(libldap-2.4.so.2)
             /opt/freeware/lib/libssl.a(libssl.so)
    ar: 0707-109 Member name libssl.so does not exist.
    dump: /tmp/tmpdir23461896/extract/libssl.so: 0654-106 Cannot open the specified file.
             /opt/freeware/lib/libcrypto.a(libcrypto.so)
    ar: 0707-109 Member name libcrypto.so does not exist.
    dump: /tmp/tmpdir23461896/extract/libcrypto.so: 0654-106 Cannot open the specified file.
             /usr/lib/libs.a(shr.o)
             /opt/freeware/lib/liblber.a(liblber-2.4.so.2)
             /opt/freeware/lib/libiconv.a(shr4.o)
             /opt/freeware/lib/libxml2.a(libxml2.so.2)
             /usr/lib/libpthread.a(shr_xpg5.o)
             /usr/lib/librtl.a(shr.o)
             /opt/freeware/lib/libgcc_s.a(shr.o)
             /opt/freeware/lib/libcrypto.a(libcrypto.so.1.0.2)
             /opt/freeware/lib/libssl.a(libssl.so.1.0.2)
             /unix
             /usr/lib/libcrypt.a(shr.o)
             /usr/lib/libc.a(shr.o)
             /opt/freeware/lib/libz.a(libz.so.1)
             /opt/freeware/lib/liblzma.a(liblzma.so.5)
             /usr/lib/libpthreads.a(shr_comm.o)
             /usr/lib/libpthreads.a(shr_xpg5.o)

    Just to update now we are getting the error is with libssl

    php -v
    Could not load program php:
            Dependent module /opt/freeware/lib/libssl.a(libssl.so) could not be loaded.
            Member libssl.so is not found in archive
     


    Thanks : Jey

     



  • 8.  Re: Apache with PHP issues on AIX 6.1

    Posted Tue September 25, 2018 10:39 AM

    Originally posted by: AyappanP


    We built php with ldap support.

    The ldd output shows you have libssl.a and libcrypto.a archives in /opt/freeware/lib directory which don't have the *.so member inside it.

    This confirms you also have openssl rpm installed in the machine. Please remove it and have only installp openssl. 

    lslpp -l | grep openssl



  • 9.  Re: Apache with PHP issues on AIX 6.1

    Posted Wed September 26, 2018 05:57 AM

    Originally posted by: JeyaseelanYesudason


    Thanks for your response,

     

    The problem has been resolved now, after removing the openssl rpm and updating the ldap.

     

    Thanks : Jey



  • 10.  Re: Apache with PHP issues on AIX 6.1

    Posted Thu October 04, 2018 05:41 PM

    Originally posted by: rayye2017


    Hi All,

    I have a similar issue trying to run apache 64-bit with SSL and PHP, also I am on AIX 7.1

    [paluapsa4c:root:/home/root:] oslevel -s
    7100-05-02-1810

    paluapsa4c:root:/home/root:] php -v
    PHP 7.0.21 (cli) (built: Aug 16 2017 01:51:30) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
    [paluapsa4c:root:/home/root:]

     

    When starting apache,

    $ apachectl start
    httpd: Syntax error on line 154 of /fsweb/apache/apache2433/conf/httpd.conf: Cannot load modules/libphp7.so into server: \t0509-022 Cannot load module /fsweb/apache/apache2433/modules/libphp7.so.\n\t0509-026 System error: Cannot run a file that does not have a valid format.

     

    $ lslpp -L | grep openssl   
      openssl.base            1.0.2.1500    C     F    Open Secure Socket Layer
      openssl.license         1.0.2.1500    C     F    Open Secure Socket License
      openssl.man.en_US       1.0.2.1500    C     F    Open Secure Socket Layer

     

    $ ar -X32_64 -tv /usr/lib/libcrypto.a
    rwxrwxrwx     0/0     3050409 May 14 13:05 2018 libcrypto.so
    rwxrwxrwx     0/0     3050409 May 14 13:06 2018 libcrypto.so.1.0.0
    rwxrwxrwx     0/0     2186744 May 14 13:05 2018 libcrypto.so.0.9.8
    rwxr-xr-x     0/0     3050409 May 14 13:06 2018 libcrypto.so.1.0.2
    rwxrwxrwx     0/0     3465602 May 14 13:17 2018 libcrypto64.so
    rwxrwxrwx     0/0     3465602 May 14 13:17 2018 libcrypto64.so.1.0.0
    rwxrwxrwx     0/0     2527801 May 14 13:17 2018 libcrypto64.so.0.9.8
    rwxr-xr-x     0/0     3465602 May 14 13:17 2018 libcrypto.so
    rwxr-xr-x     0/0     2527801 May 14 13:17 2018 libcrypto.so.0.9.8
    rwxr-xr-x     0/0     3465602 May 14 13:17 2018 libcrypto.so.1.0.0
    rwxr-xr-x     0/0     3465602 May 14 13:12 2018 libcrypto.so.1.0.2

     

    $ ar -X32_64 -tv /usr/lib/libssl.a
    rwxrwxrwx     0/0     729639 May 14 15:09 2018 libssl.so
    rwxrwxrwx     0/0     729639 May 14 15:09 2018 libssl.so.1.0.0
    rwxrwxrwx     0/0     510766 May 14 15:09 2018 libssl.so.0.9.8
    rwxr-xr-x     0/0     729639 May 14 15:09 2018 libssl.so.1.0.2
    rwxrwxrwx     0/0     826872 May 14 15:17 2018 libssl64.so
    rwxrwxrwx     0/0     826872 May 14 15:17 2018 libssl64.so.1.0.0
    rwxrwxrwx     0/0     577564 May 14 15:17 2018 libssl64.so.0.9.8
    rwxr-xr-x     0/0     826872 May 14 15:17 2018 libssl.so
    rwxr-xr-x     0/0     577564 May 14 15:17 2018 libssl.so.0.9.8
    rwxr-xr-x     0/0     826872 May 14 15:17 2018 libssl.so.1.0.0
    rwxr-xr-x     0/0     826872 May 14 15:16 2018 libssl.so.1.0.2

     

    Thanks for your help!

    Ray

     

     

     



  • 11.  Re: Apache with PHP issues on AIX 6.1

    Posted Fri October 05, 2018 02:07 AM

    Originally posted by: AyappanP


    Please check the presence of this file "/fsweb/apache/apache2433/modules/libphp7.so" as shown in the error message.



  • 12.  Re: Apache with PHP issues on AIX 6.1

    Posted Fri October 05, 2018 09:32 AM

    Originally posted by: rayye2017


    Hi 

    The file is there.  But Apache is showing it has invalid format.

    Thanks!

    Ray



  • 13.  Re: Apache with PHP issues on AIX 6.1

    Posted Fri October 05, 2018 09:49 AM

    Originally posted by: AyappanP


    Execute the below commands and paste the output here

    ls -l /fsweb/apache/apache2433/modules/libphp7.so

    ldd /fsweb/apache/apache2433/modules/libphp7.so



  • 14.  Re: Apache with PHP issues on AIX 6.1

    Posted Fri October 05, 2018 10:44 AM

    Originally posted by: rayye2017


    Hi Ayappan,

    Please see the output.

    $ ls -l /fsweb/apache/apache2433/modules/libphp7.so
    -rwxr-xr-x    1 fsweb    psoft      13880995 Jun 06 11:44 /fsweb/apache/apache2433/modules/libphp7.so
    $ ldd /fsweb/apache/apache2433/modules/libphp7.so
    /fsweb/apache/apache2433/modules/libphp7.so needs:
             /opt/freeware/lib/libldap.a(libldap-2.4.so.2)
             /opt/freeware/lib/liblber.a(liblber-2.4.so.2)
             /opt/freeware/lib/libiconv.a(shr4.o)
             /usr/lib/libcrypto.a(libcrypto.so)
             /usr/lib/libssl.a(libssl.so)
             /opt/freeware/lib/libxml2.a(libxml2.so.2)
             /usr/lib/libc.a(shr.o)
             /opt/freeware/lib/libgcc_s.a(shr.o)
             /usr/lib/librtl.a(shr.o)
             /opt/freeware/lib/libsasl2.a
             /usr/lib/libs.a(shr.o)
             /usr/lib/libssl.a(libssl.so.1.0.0)
             /usr/lib/libcrypto.a(libcrypto.so.1.0.0)
             /usr/lib/libpthread.a(shr_xpg5.o)
             /opt/freeware/lib/libz.a(libz.so.1)
             /opt/freeware/lib/liblzma.a(liblzma.so.5)
             /unix
             /usr/lib/libcrypt.a(shr.o)
             /usr/lib/libdl.a(shr.o)
             /usr/lib/libpthreads.a(shr_comm.o)
             /usr/lib/libpthreads.a(shr_xpg5.o)
    $

     

    Thanks!

    Ray



  • 15.  Re: Apache with PHP issues on AIX 6.1

    Posted Fri October 05, 2018 10:47 AM

    Originally posted by: AyappanP


    Everything seems to be good. Can you paste the entire error message ?



  • 16.  Re: Apache with PHP issues on AIX 6.1

    Posted Fri October 05, 2018 11:02 AM

    Originally posted by: AyappanP


    we are shipping only 32-bit php. And default httpd is 32-bit. How you are invoking 64 bit httpd ?



  • 17.  Re: Apache with PHP issues on AIX 6.1

    Posted Fri October 05, 2018 11:34 AM

    Originally posted by: rayye2017


    Hi Ayappan,

     

    We are trying to connect to peoplesoft using WebLogic and SAML and memcache with Apache/PHP.  We have done it in AIX6.1. 

     

    But we needed to upgrade to AIX7.1 and the new version of Weblogic only supports 64-bit Apache.

     

    So far, we compiled apache and SSL only without PHP/SAML/memcahe in AIX7.1

     

     Openssl64b
    Openssl:

    gtar -zxvf openssl-1.1.1-pre8.tar.gz
    ./Configure  CC="gcc" CFLAGS="-maix64"  CXX="g++" CXXFLAGS="-maix64" NM="nm -X64" AR="ar -X64"  --prefix=/fsweb/source/openssl64

    (Or  in /fsweb/source/openssl-1.1.0h using: ./Configure aix64-gcc -prefix=/fsweb/source/openssl64)

    make
    make install

    Apache:
    export OBJECT_MODE=64
    ./configure CC="gcc" CFLAGS="-maix64"  CXX="g++" CXXFLAGS="-maix64" NM="nm -X64" AR="ar -X64" --prefix=/fsweb/apache/apache2433  --with-pcre=/fsweb/source/httpd-2.4.33/srclib/pcre/bin/pcre-config --with-mpm=worker --enable-rule=SHARED_CORE --enable-setenvif --enable-so --enable-ssl --enable-setenvif --enable-proxy=shared --enable-rewrite=shared

     

    thanks!

    Ray



  • 18.  Re: Apache with PHP issues on AIX 6.1

    Posted Fri October 05, 2018 11:42 AM

    Originally posted by: AyappanP


    Okay. PHP is also compiled by yourself? From the dynamic linking, it seems like it is a 32 bit library



  • 19.  Re: Apache with PHP issues on AIX 6.1

    Posted Fri October 05, 2018 11:53 AM

    Originally posted by: rayye2017


    Hi Ayappan,

    First, I tried to use the once that we got from aixtools - which now you confirmed is 32-bit.

    Then I tried to compile the PHP from php.com download.  The configure part seems to be fine:

    ./configure  CC="gcc" CFLAGS="-maix64"  CXX="g++" CXXFLAGS="-maix64" NM="nm -X64" AR="ar -X64"  --prefix=/fsweb/source/php-7.2.10 --enable-opcache=no 

    Generating files
    configure: creating ./config.status
    creating main/internal_functions.c
    creating main/internal_functions_cli.c
    +--------------------------------------------------------------------+
    | License:                                                           |
    | This software is subject to the PHP License, available in this     |
    | distribution in the file LICENSE.  By continuing this installation |
    | process, you are bound by the terms of this license agreement.     |
    | If you do not agree with the terms of this license, you must abort |
    | the installation process at this point.                            |
    +--------------------------------------------------------------------+

    Thank you for using PHP.

    config.status: creating php7.spec
    config.status: creating main/build-defs.h
    config.status: creating scripts/phpize
    config.status: creating scripts/man1/phpize.1
    config.status: creating scripts/php-config
    config.status: creating scripts/man1/php-config.1
    config.status: creating sapi/cli/php.1
    config.status: creating sapi/phpdbg/phpdbg.1
    config.status: creating sapi/cgi/php-cgi.1
    config.status: creating ext/phar/phar.1
    config.status: creating ext/phar/phar.phar.1
    config.status: creating main/php_config.h
    config.status: main/php_config.h is unchanged
    config.status: executing default commands
    [paluapsa4c:root:/fsweb/source/php-7.2.10:]

     

    But make is getting errors.

     

    [paluapsa4c:root:/fsweb/source/php-7.2.10:] make
            /bin/sh /fsweb/source/php-7.2.10/libtool --silent --preserve-dup-deps --mode=compile gcc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/standard/ -I/fsweb/source/php-7.2.10/ext/standard/ -DPHP_ATOM_INC -I/fsweb/source/php-7.2.10/include -I/fsweb/source/php-7.2.10/main -I/fsweb/source/php-7.2.10 -I/fsweb/source/php-7.2.10/ext/date/lib -I/opt/freeware/include/libxml2 -I/fsweb/source/php-7.2.10/ext/sqlite3/libsqlite -I/fsweb/source/php-7.2.10/TSRM -I/fsweb/source/php-7.2.10/Zend    -I/usr/include -maix64 -fvisibility=hidden -DZEND_SIGNALS   -c /fsweb/source/php-7.2.10/ext/standard/info.c -o ext/standard/info.lo
    /fsweb/source/php-7.2.10/ext/standard/info.c: In function 'register_phpinfo_constants':
    /fsweb/source/php-7.2.10/ext/standard/info.c:1261:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
     }
     ^
    /fsweb/source/php-7.2.10/ext/standard/info.c: In function 'zif_phpinfo':
    /fsweb/source/php-7.2.10/ext/standard/info.c:1281:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
     }
     ^
    /fsweb/source/php-7.2.10/ext/standard/info.c: In function 'zif_phpversion':
    /fsweb/source/php-7.2.10/ext/standard/info.c:1307:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
     }
     ^
    /fsweb/source/php-7.2.10/ext/standard/info.c: In function 'zif_phpcredits':
    /fsweb/source/php-7.2.10/ext/standard/info.c:1323:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
     }
     ^
    /fsweb/source/php-7.2.10/ext/standard/info.c: In function 'zif_php_sapi_name':
    /fsweb/source/php-7.2.10/ext/standard/info.c:1339:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
     }
     ^
    /fsweb/source/php-7.2.10/ext/standard/info.c: In function 'zif_php_uname':
    /fsweb/source/php-7.2.10/ext/standard/info.c:1356:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
     }
     ^
    /fsweb/source/php-7.2.10/ext/standard/info.c: In function 'zif_php_ini_scanned_files':
    /fsweb/source/php-7.2.10/ext/standard/info.c:1373:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
     }
     ^
    /fsweb/source/php-7.2.10/ext/standard/info.c: In function 'zif_php_ini_loaded_file':
    /fsweb/source/php-7.2.10/ext/standard/info.c:1389:1: warning: visibility attribute not supported in this configuration; ignored [-Wattributes]
     }
     ^
            /bin/sh /fsweb/source/php-7.2.10/libtool --silent --preserve-dup-deps --mode=compile gcc        -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -IZend/ -I/fsweb/source/php-7.2.10/Zend/ -DPHP_ATOM_INC -I/fsweb/source/php-7.2.10/include -I/fsweb/source/php-7.2.10/main -I/fsweb/source/php-7.2.10 -I/fsweb/source/php-7.2.10/ext/date/lib -I/opt/freeware/include/libxml2 -I/fsweb/source/php-7.2.10/ext/sqlite3/libsqlite -I/fsweb/source/php-7.2.10/TSRM -I/fsweb/source/php-7.2.10/Zend    -I/usr/include -maix64 -fvisibility=hidden -DZEND_SIGNALS   -c /fsweb/source/php-7.2.10/Zend/zend_ini_parser.c -o Zend/zend_ini_parser.lo
    In file included from /fsweb/source/php-7.2.10/Zend/zend.h:37:0,
                     from /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:25:
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y: In function 'yydestruct':
    /fsweb/source/php-7.2.10/Zend/zend_variables.h:87:57: error: expected identifier before ')' token
     #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                             ^
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:302:11: note: in expansion of macro 'zval_ptr_dtor'
     %destructor { zval_ptr_dtor(&$$); } TC_RAW TC_CONSTANT TC_NUMBER TC_STRING TC_WHITESPACE TC_LABEL TC_OFFSET TC_VARNAME BOOL_TRUE BOOL_FALSE NULL_NULL
               ^~~~~~~~~~~~~
    /fsweb/source/php-7.2.10/Zend/zend_variables.h:87:57: error: expected identifier before ')' token
     #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                             ^
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:302:11: note: in expansion of macro 'zval_ptr_dtor'
     %destructor { zval_ptr_dtor(&$$); } TC_RAW TC_CONSTANT TC_NUMBER TC_STRING TC_WHITESPACE TC_LABEL TC_OFFSET TC_VARNAME BOOL_TRUE BOOL_FALSE NULL_NULL
               ^~~~~~~~~~~~~
    /fsweb/source/php-7.2.10/Zend/zend_variables.h:87:57: error: expected identifier before ')' token
     #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                             ^
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:302:11: note: in expansion of macro 'zval_ptr_dtor'
     %destructor { zval_ptr_dtor(&$$); } TC_RAW TC_CONSTANT TC_NUMBER TC_STRING TC_WHITESPACE TC_LABEL TC_OFFSET TC_VARNAME BOOL_TRUE BOOL_FALSE NULL_NULL
               ^~~~~~~~~~~~~
    /fsweb/source/php-7.2.10/Zend/zend_variables.h:87:57: error: expected identifier before ')' token
     #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                             ^
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:302:11: note: in expansion of macro 'zval_ptr_dtor'
     %destructor { zval_ptr_dtor(&$$); } TC_RAW TC_CONSTANT TC_NUMBER TC_STRING TC_WHITESPACE TC_LABEL TC_OFFSET TC_VARNAME BOOL_TRUE BOOL_FALSE NULL_NULL
               ^~~~~~~~~~~~~
    /fsweb/source/php-7.2.10/Zend/zend_variables.h:87:57: error: expected identifier before ')' token
     #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                             ^
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:302:11: note: in expansion of macro 'zval_ptr_dtor'
     %destructor { zval_ptr_dtor(&$$); } TC_RAW TC_CONSTANT TC_NUMBER TC_STRING TC_WHITESPACE TC_LABEL TC_OFFSET TC_VARNAME BOOL_TRUE BOOL_FALSE NULL_NULL
               ^~~~~~~~~~~~~
    /fsweb/source/php-7.2.10/Zend/zend_variables.h:87:57: error: expected identifier before ')' token
     #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                             ^
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:302:11: note: in expansion of macro 'zval_ptr_dtor'
     %destructor { zval_ptr_dtor(&$$); } TC_RAW TC_CONSTANT TC_NUMBER TC_STRING TC_WHITESPACE TC_LABEL TC_OFFSET TC_VARNAME BOOL_TRUE BOOL_FALSE NULL_NULL
               ^~~~~~~~~~~~~
    /fsweb/source/php-7.2.10/Zend/zend_variables.h:87:57: error: expected identifier before ')' token
     #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                             ^
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:302:11: note: in expansion of macro 'zval_ptr_dtor'
     %destructor { zval_ptr_dtor(&$$); } TC_RAW TC_CONSTANT TC_NUMBER TC_STRING TC_WHITESPACE TC_LABEL TC_OFFSET TC_VARNAME BOOL_TRUE BOOL_FALSE NULL_NULL
               ^~~~~~~~~~~~~
    /fsweb/source/php-7.2.10/Zend/zend_variables.h:87:57: error: expected identifier before ')' token
     #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                             ^
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:302:11: note: in expansion of macro 'zval_ptr_dtor'
     %destructor { zval_ptr_dtor(&$$); } TC_RAW TC_CONSTANT TC_NUMBER TC_STRING TC_WHITESPACE TC_LABEL TC_OFFSET TC_VARNAME BOOL_TRUE BOOL_FALSE NULL_NULL
               ^~~~~~~~~~~~~
    /fsweb/source/php-7.2.10/Zend/zend_variables.h:87:57: error: expected identifier before ')' token
     #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                             ^
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:302:11: note: in expansion of macro 'zval_ptr_dtor'
     %destructor { zval_ptr_dtor(&$$); } TC_RAW TC_CONSTANT TC_NUMBER TC_STRING TC_WHITESPACE TC_LABEL TC_OFFSET TC_VARNAME BOOL_TRUE BOOL_FALSE NULL_NULL
               ^~~~~~~~~~~~~
    /fsweb/source/php-7.2.10/Zend/zend_variables.h:87:57: error: expected identifier before ')' token
     #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                             ^
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:302:11: note: in expansion of macro 'zval_ptr_dtor'
     %destructor { zval_ptr_dtor(&$$); } TC_RAW TC_CONSTANT TC_NUMBER TC_STRING TC_WHITESPACE TC_LABEL TC_OFFSET TC_VARNAME BOOL_TRUE BOOL_FALSE NULL_NULL
               ^~~~~~~~~~~~~
    /fsweb/source/php-7.2.10/Zend/zend_variables.h:87:57: error: expected identifier before ')' token
     #define zval_ptr_dtor(zval_ptr) _zval_ptr_dtor((zval_ptr) ZEND_FILE_LINE_CC)
                                                             ^
    /fsweb/source/php-7.2.10/Zend/zend_ini_parser.y:302:11: note: in expansion of macro 'zval_ptr_dtor'
     %destructor { zval_ptr_dtor(&$$); } TC_RAW TC_CONSTANT TC_NUMBER TC_STRING TC_WHITESPACE TC_LABEL TC_OFFSET TC_VARNAME BOOL_TRUE BOOL_FALSE NULL_NULL
               ^~~~~~~~~~~~~
    make: 1254-004 The error code from the last command is 1.

     

    Thanks

    Ray

     



  • 20.  Re: Apache with PHP issues on AIX 6.1

    Posted Mon October 08, 2018 03:39 AM

    Originally posted by: AyappanP


    You can look at our spec file for build options --> ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/SPECS/php-7.0.31-1.spec

    You need to include "-maix64" in CFLAGS & CXXFLAGS and OBJECT_MODE=64 . Don't use bmaxdata in LDFLAGS for 64bit.

    Also try using the same php version 7.0.31



  • 21.  Re: Apache with PHP issues on AIX 6.1

    Posted Mon October 08, 2018 02:44 PM

    Originally posted by: rayye2017


    Hi Ayappan,

    I downloaded php-7.0.13 and tried to configure with the following parms

    ./configure CC=gcc CFLAGS=-maix64 CXX=g++ CXXFLAGS=-maix64 LIBS=-Wl,-bbigtoc NM="nm -X64" AR="ar -X64" --prefix=/fsweb/source/php-7.0.31 --enable-opcache=no

    The configure went fine.

    When make, I am getting a stack overflow.

     

            /bin/sh /fsweb/source/php-7.0.31/libtool --silent --preserve-dup-deps --mode=link gcc -export-dynamic -I/usr/include -maix64 -fvisibility=hidden   -L/opt/freeware/lib  -R /opt/freeware/lib ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo ext/date/lib/unixtime2tm.lo ext/date/lib/parse_iso_intervals.lo ext/date/lib/interval.lo ext/libxml/libxml.lo ext/pcre/pcrelib/pcre_chartables.lo ext/pcre/pcrelib/pcre_ucd.lo ext/pcre/pcrelib/pcre_compile.lo ext/pcre/pcrelib/pcre_config.lo ext/pcre/pcrelib/pcre_exec.lo ext/pcre/pcrelib/pcre_fullinfo.lo ext/pcre/pcrelib/pcre_get.lo ext/pcre/pcrelib/pcre_globals.lo ext/pcre/pcrelib/pcre_maketables.lo ext/pcre/pcrelib/pcre_newline.lo ext/pcre/pcrelib/pcre_ord2utf8.lo ext/pcre/pcrelib/pcre_refcount.lo ext/pcre/pcrelib/pcre_study.lo ext/pcre/pcrelib/pcre_tables.lo ext/pcre/pcrelib/pcre_valid_utf8.lo ext/pcre/pcrelib/pcre_version.lo ext/pcre/pcrelib/pcre_xclass.lo ext/pcre/pcrelib/pcre_jit_compile.lo ext/pcre/php_pcre.lo ext/sqlite3/sqlite3.lo ext/sqlite3/libsqlite/sqlite3.lo ext/ctype/ctype.lo ext/dom/php_dom.lo ext/dom/attr.lo ext/dom/document.lo ext/dom/domerrorhandler.lo ext/dom/domstringlist.lo ext/dom/domexception.lo ext/dom/namelist.lo ext/dom/processinginstruction.lo ext/dom/cdatasection.lo ext/dom/documentfragment.lo ext/dom/domimplementation.lo ext/dom/element.lo ext/dom/node.lo ext/dom/string_extend.lo ext/dom/characterdata.lo ext/dom/documenttype.lo ext/dom/domimplementationlist.lo ext/dom/entity.lo ext/dom/nodelist.lo ext/dom/text.lo ext/dom/comment.lo ext/dom/domconfiguration.lo ext/dom/domimplementationsource.lo ext/dom/entityreference.lo ext/dom/notation.lo ext/dom/xpath.lo ext/dom/dom_iterators.lo ext/dom/typeinfo.lo ext/dom/domerror.lo ext/dom/domlocator.lo ext/dom/namednodemap.lo ext/dom/userdatahandler.lo ext/fileinfo/fileinfo.lo ext/fileinfo/libmagic/apprentice.lo ext/fileinfo/libmagic/apptype.lo ext/fileinfo/libmagic/ascmagic.lo ext/fileinfo/libmagic/cdf.lo ext/fileinfo/libmagic/cdf_time.lo ext/fileinfo/libmagic/compress.lo ext/fileinfo/libmagic/encoding.lo ext/fileinfo/libmagic/fsmagic.lo ext/fileinfo/libmagic/funcs.lo ext/fileinfo/libmagic/is_tar.lo ext/fileinfo/libmagic/magic.lo ext/fileinfo/libmagic/print.lo ext/fileinfo/libmagic/readcdf.lo ext/fileinfo/libmagic/softmagic.lo ext/fileinfo/libmagic/strcasestr.lo ext/filter/filter.lo ext/filter/sanitizing_filters.lo ext/filter/logical_filters.lo ext/filter/callback_filter.lo ext/hash/hash.lo ext/hash/hash_md.lo ext/hash/hash_sha.lo ext/hash/hash_ripemd.lo ext/hash/hash_haval.lo ext/hash/hash_tiger.lo ext/hash/hash_gost.lo ext/hash/hash_snefru.lo ext/hash/hash_whirlpool.lo ext/hash/hash_adler32.lo ext/hash/hash_crc32.lo ext/hash/hash_fnv.lo ext/hash/hash_joaat.lo ext/iconv/iconv.lo ext/json/json.lo ext/json/json_encoder.lo ext/json/json_parser.lo ext/json/json_scanner.lo ext/pdo/pdo.lo ext/pdo/pdo_dbh.lo ext/pdo/pdo_stmt.lo ext/pdo/pdo_sql_parser.lo ext/pdo/pdo_sqlstate.lo ext/pdo_sqlite/pdo_sqlite.lo ext/pdo_sqlite/sqlite_driver.lo ext/pdo_sqlite/sqlite_statement.lo ext/phar/util.lo ext/phar/tar.lo ext/phar/zip.lo ext/phar/stream.lo ext/phar/func_interceptors.lo ext/phar/dirstream.lo ext/phar/phar.lo ext/phar/phar_object.lo ext/phar/phar_path_check.lo ext/posix/posix.lo ext/reflection/php_reflection.lo ext/session/mod_user_class.lo ext/session/session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user.lo ext/simplexml/simplexml.lo ext/simplexml/sxe.lo ext/spl/php_spl.lo ext/spl/spl_functions.lo ext/spl/spl_engine.lo ext/spl/spl_iterators.lo ext/spl/spl_array.lo ext/spl/spl_directory.lo ext/spl/spl_exceptions.lo ext/spl/spl_observer.lo ext/spl/spl_dllist.lo ext/spl/spl_heap.lo ext/spl/spl_fixedarray.lo ext/standard/crypt_freesec.lo ext/standard/crypt_blowfish.lo ext/standard/crypt_sha512.lo ext/standard/crypt_sha256.lo ext/standard/php_crypt_r.lo ext/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext/standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/sha1.lo ext/standard/user_filters.lo ext/standard/uuencode.lo ext/standard/filters.lo ext/standard/proc_open.lo ext/standard/streamsfuncs.lo ext/standard/http.lo ext/standard/password.lo ext/standard/random.lo ext/tokenizer/tokenizer.lo ext/tokenizer/tokenizer_data.lo ext/xml/xml.lo ext/xml/compat.lo ext/xmlreader/php_xmlreader.lo ext/xmlwriter/php_xmlwriter.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks.lo main/network.lo main/php_open_temporary_file.lo main/output.lo main/getopt.lo main/streams/streams.lo main/streams/cast.lo main/streams/memory.lo main/streams/filter.lo main/streams/plain_wrapper.lo main/streams/userspace.lo main/streams/transports.lo main/streams/xp_socket.lo main/streams/mmap.lo main/streams/glob_wrapper.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dtrace.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_vm_opcodes.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_sort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_gc.lo Zend/zend_closures.lo Zend/zend_float.lo Zend/zend_string.lo Zend/zend_signal.lo Zend/zend_generators.lo Zend/zend_virtual_cwd.lo Zend/zend_ast.lo Zend/zend_objects.lo Zend/zend_object_handlers.lo Zend/zend_objects_API.lo Zend/zend_default_classes.lo Zend/zend_inheritance.lo Zend/zend_smart_str.lo Zend/zend_execute.lo main/internal_functions_cli.lo sapi/phpdbg/phpdbg.lo sapi/phpdbg/phpdbg_parser.lo sapi/phpdbg/phpdbg_lexer.lo sapi/phpdbg/phpdbg_prompt.lo sapi/phpdbg/phpdbg_help.lo sapi/phpdbg/phpdbg_break.lo sapi/phpdbg/phpdbg_print.lo sapi/phpdbg/phpdbg_bp.lo sapi/phpdbg/phpdbg_opcode.lo sapi/phpdbg/phpdbg_list.lo sapi/phpdbg/phpdbg_utils.lo sapi/phpdbg/phpdbg_info.lo sapi/phpdbg/phpdbg_cmd.lo sapi/phpdbg/phpdbg_set.lo sapi/phpdbg/phpdbg_frame.lo sapi/phpdbg/phpdbg_watch.lo sapi/phpdbg/phpdbg_btree.lo sapi/phpdbg/phpdbg_sigsafe.lo sapi/phpdbg/phpdbg_wait.lo sapi/phpdbg/phpdbg_io.lo sapi/phpdbg/phpdbg_eol.lo sapi/phpdbg/phpdbg_out.lo -lrt -liconv -lrt -lm -Wl,-bbigtoc -lxml2 -lz -llzma -liconv -lm -lxml2 -lz -llzma -liconv -lm -lxml2 -lz -llzma -liconv -lm -lxml2 -lz -llzma -liconv -lm -lxml2 -lz -llzma -liconv -lm -lxml2 -lz -llzma -liconv -lm   -o sapi/phpdbg/phpdbg
    ld: 0711-783 WARNING: TOC overflow. TOC size: 108720    Maximum size: 65536
            Extra instructions are being generated for each reference to a TOC
            symbol if the symbol is in the TOC overflow area.
    ld: 0711-783 WARNING: TOC overflow. TOC size: 108800    Maximum size: 65536
            Extra instructions are being generated for each reference to a TOC
            symbol if the symbol is in the TOC overflow area.
            echo '\
    \
    Generating phar.phar
    chmod: ext/phar/phar.phar: A file or directory in the path name does not exist.
    make: 1254-004 The error code from the last command is 1.
    make: 1254-005 Ignored error code 1 from last command.

    Build complete.
    Don't forget to run 'make test'.

     



  • 22.  Re: Apache with PHP issues on AIX 6.1

    Posted Mon October 08, 2018 05:48 PM

    Originally posted by: rayye2017


    Hi

    I also tried a different options:

     

    It configure fine if I don't use

     export OBJECT_MODE=64

    ./configure CC=gcc CFLAGS=-maix64 CXX=g++ CXXFLAGS=-maix64 CFLAGS=-Wl,-bbigtoc NM="nm -X64" AR="ar -X64" --prefix=/fsweb/source/php-7.0.31 --enable-opcache=no

    checking for grep that handles long lines and -e... /usr/bin/grep
    checking for egrep... /usr/bin/grep -E
    checking for a sed that does not truncate output... /usr/bin/sed
    checking build system type... powerpc-ibm-aix7.1.5.0
    checking host system type... powerpc-ibm-aix7.1.5.0
    checking target system type... powerpc-ibm-aix7.1.5.0
    checking whether the C compiler works... no
    configure: error: in `/fsweb/source/php-7.0.31':
    configure: error: C compiler cannot create executables
    See `config.log' for more details

     

    If I set export OBJECT_MODE=64

    it reports checking whether the C compiler works... no

     

    Thanks!

    Ray



  • 23.  Re: Apache with PHP issues on AIX 6.1

    Posted Tue October 09, 2018 02:40 AM

    Originally posted by: AyappanP


    I think you earlier build completed it seems. TOC error shows as warning .

    Can you try "make install DESTDIR=<install_dir>" and check whether it is working ?



  • 24.  Re: Apache with PHP issues on AIX 6.1

    Posted Tue October 09, 2018 11:33 PM

    Originally posted by: rayye2017


    Hi

    When I did not set OBJECT_CODE=64

    it complains that the library is in 32-bit mode



  • 25.  Re: Apache with PHP issues on AIX 6.1

    Posted Wed October 10, 2018 10:06 AM

    Originally posted by: AyappanP


    Okay. I suggest you to export CC and CXX like this

    CC="gcc -maix64"

    CXX="g++ -maix64"

    OBJECT_MODE=64

    All other parameters remains the same as mentioned earlier.



  • 26.  Re: Apache with PHP issues on AIX 6.1

    Posted Wed October 10, 2018 12:27 PM

    Originally posted by: rayye2017


    Thanks Ayappan

     

    export CC="gcc -maix64"
    export CXX="g++ -maix64"
    export OBJECT_MODE=64
    ./configure CXXFLAGS=-maix64 CFLAGS=-Wl,-bbigtoc NM="nm -X64" AR="ar -X64" --prefix=/fsweb/source/php-7.0.31 --enable-opcache=no

     

    Configure worked fine.

     

    make

            echo '\
    \
            echo '\
    \
    Generating phar.phar
    chmod: ext/phar/phar.phar: A file or directory in the path name does not exist.
    make: 1254-004 The error code from the last command is 1.
    make: 1254-005 Ignored error code 1 from last command.
    Installing PHP CLI binary:        /fsweb/source/php-7.0.31/bin/
    Installing PHP CLI man page:      /fsweb/source/php-7.0.31/php/man/man1/
    Installing phpdbg binary:         /fsweb/source/php-7.0.31/bin/
    Installing phpdbg man page:       /fsweb/source/php-7.0.31/php/man/man1/
    Installing PHP CGI binary:        /fsweb/source/php-7.0.31/bin/
    cp: sapi/cgi/php-cgi: No such file or directory
    make: 1254-004 The error code from the last command is 1.


    Stop.

     

     

     

     

    make install

            echo '\
    \
            echo '\
    \
    Generating phar.phar
    chmod: ext/phar/phar.phar: A file or directory in the path name does not exist.
    make: 1254-004 The error code from the last command is 1.
    make: 1254-005 Ignored error code 1 from last command.
    Installing PHP CLI binary:        /fsweb/source/php-7.0.31/bin/
    Installing PHP CLI man page:      /fsweb/source/php-7.0.31/php/man/man1/
    Installing phpdbg binary:         /fsweb/source/php-7.0.31/bin/
    Installing phpdbg man page:       /fsweb/source/php-7.0.31/php/man/man1/
    Installing PHP CGI binary:        /fsweb/source/php-7.0.31/bin/
    cp: sapi/cgi/php-cgi: No such file or directory
    make: 1254-004 The error code from the last command is 1.


    Stop.

     

    make and make install got errors.

    Tx

    Ray



  • 27.  Re: Apache with PHP issues on AIX 6.1

    Posted Mon October 15, 2018 12:57 PM

    Originally posted by: rayye2017


    Hi Ayappan,

     

    Any more suggestion?  Tx

    Ray



  • 28.  Re: Apache with PHP issues on AIX 6.1

    Posted Tue October 16, 2018 02:24 AM

    Originally posted by: AyappanP


    You need to check our php SRPM --> ftp://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/SRPMS/php/php-7.0.31-1.src.rpm

    Get the spec file and patches from it. Follow the steps in the spec file. Only change will be the 64-bit build parameters.