Products Resources Support About Us

Rocket Software

PHP v7.0.5 installation on zOS

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

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

Hi Alex,

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

Thanks,
Sandhya

Hi Sandhya_B_N,

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

Thanks