Bug #80253 [Com]: Community PHP does nothing on IBM i 7.4
| From: | rtrtrtrtrt at dfdfdfdf dot dfd | Date: | Sun, 18 Oct 2020 03:53:20 +0000 |
| Subject: | Bug #80253 [Com]: Community PHP does nothing on IBM i 7.4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-229693@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=80253&edit=1
ID: 80253
Comment by: rtrtrtrtrt at dfdfdfdf dot dfd
Reported by: softwoehr at gmail dot com
Summary: Community PHP does nothing on IBM i 7.4
Status: Open
Type: Bug
Package: Output Control
Operating System: IBM i 7.4
PHP Version: 7.3.23
Block user comment: N
Private report: N
New Comment:
"php -m" is pretty sure missing "readline" extension
Previous Comments:
------------------------------------------------------------------------
[2020-10-18 03:47:20] softwoehr at gmail dot com
Description:
------------
After installing community edition for IBM i ppc64 from Zend repo via yum, (software is installed,
but does not operate correctly.
- yum install 'php*' from http://repos.zend.com/ibmiphp/
- follow instructions on https://odbcphp.k3s.com/ and copy
/QOpenSys/etc/php.ini to /QOpenSys/etc/php/php.ini
- Check all the modules are mentioned in /QOpenSys/etc/php/conf.d
- Try it out
NOTE that the version offered from Zend repo is as follows:
$ php --version
PHP 7.3.14 (cli) (built: Jan 30 2020 07:25:43) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.14, Copyright (c) 1998-2018 Zend Technologies
Test script:
---------------
Sample session:
driveway@Common1:~$ chroot /QOpenSys/jwoehr
driveway@Common1:/$ php -a
Interactive mode enabled
echo "foo";
echo "foo";
driveway@Common1:~$ chroot /QOpenSys/jwoehr
driveway@Common1:/$ echo 'echo "foo";' | php
echo "foo";
driveway@Common1:/$
Expected result:
----------------
Expect conventional php interactive behavior.
Actual result:
--------------
Does not hang, but does not operate.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=80253&edit=1