z/OS Tools & Language

Expand all | Collapse all

PHP v7.0.5 installation on zOS

  • 1.  PHP v7.0.5 installation on zOS

    Posted 08-07-2019 13:39

    We are installing PHP v.7.0.5 on zOS. The product files were received to USS and installation steps were performed. The bin PATH was setup pointing to 7.0.5 version, The problem is - when I tried to issue a command to check the version, it shows junk value. Any suggestions?

    $ export PATH=PATH:/usr/lpp/PHP/v7.0.5/bin export CGI_HEADER_ENCODING=EBCDIC
    export CGI_BODY_ENCODING=NONE php -v
    &ç&--------Ä%Ñ—ÂÍÑ%È–¢Í>---------------------+èë—ä?øÊÑÅÇÈ--Ä------------èÇ Á-&ç&-åÊ?Íø-!Á>À-á>ÅÑ>Á-Î-------ä?øÊÑÅÇÈ–Ä------------!Á>À-èÁÄÇ>?%?ÅÑÁË-$

    Fyi… Same process was followed for v5.4 and it worked fine



  • 2.  RE: PHP v7.0.5 installation on zOS

    Posted 08-08-2019 06:58

    Hi Sandhya_B_N,
    Are you using bash and which version if it is true? Can you also provide “env|sort” output here.
    Thanks,
    Alex



  • 3.  RE: PHP v7.0.5 installation on zOS

    Posted 08-08-2019 14:08

    Hi Alex,

    No, we are not using bash. We are using sh (Bourne shell )

    Thanks,
    Sandhya



  • 4.  RE: PHP v7.0.5 installation on zOS

    Posted 08-15-2019 03:39

    Hi Sandhya_B_N,

    Please try following:
    export _BPXK_AUTOCVT=ON
    export _CEE_RUNOPTS=“FILETAG(AUTOCVT,AUTOTAG) POSIX(ON)”

    Thanks



  • 5.  RE: PHP v7.0.5 installation on zOS

    Posted 09-06-2019 09:08

    Hi Alex,
    It worked, Thank you!

    Regards,
    Sandhya