Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  PHP-ZIP extension

    Posted Mon March 28, 2022 08:15 AM
    Hello,
    I have downloaded the php from IBM linuxtool box website as a requirements for wordpress which we plan to run in AIX. Everything is working as expected, until today, when one of the developer is having issue with the zip file and it's complaining that the php-zip extension is not enabled. I  checked the phpinfo output and found that the zip extension is not included in the package. I tried to check from IBM linuxtoolbox website if there is a seprate package for php-zip and couldn't find any. So my question is, is there a way to build the php-zip extension without recompiling the entire php? I've tried to compile php before prior to downloading from IBM linuxtoolbox using gcc/gcc++ and i'm having hard time compiling it. That is why I wanted to know if there is a way to just build only the php-zip extension,of if anyone know where I can get a php-zip extension rpm for AIX, then that will be great. I appreciate any help you can provide.
    Thanks,
    Sam

    ------------------------------
    Samuel Tan
    ------------------------------

    #AIXOpenSource


  • 2.  RE: PHP-ZIP extension

    Posted Mon March 28, 2022 08:55 AM
    AIX Toolbox php doesn't have zip support. We will look into it and try to enable it in the future releases. 
    It needs libzip which also is not there in Toolbox. 

    To enable zip support, one has to recompile php. There is no other option it looks like.

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: PHP-ZIP extension

    Posted Fri August 05, 2022 09:36 AM

    We have built php 7.4.30 with zip support and published it in AIX toolbox. In order to use it , please install php-zip rpm.

    https://public.dhe.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/php/php-zip-7.4.30-1.aix7.1.ppc.rpm



    ------------------------------
    RESHMA KUMAR
    ------------------------------