|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71898 Generating phar.php php-5.6.19/sapi/cli/php: not found.
Submitted: 2016-03-25 14:26 UTC Modified: 2021-01-31 04:22 UTC
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: djmccoy at us dot ibm dot com Assigned: cmb (profile)
Status: No Feedback Package: PHAR related
PHP Version: 5.6.19 OS: AIX 7.1
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: djmccoy at us dot ibm dot com
New email:
PHP Version: OS:


 [2016-03-25 14:26 UTC] djmccoy at us dot ibm dot com
Attempting to build php 5.6.19 for AIX 7.1 with pdo-odbc and getting the error during make:

        echo '\
Generating phar.php
/bin/sh[14]: /home/httpd/src/php-5.6.19/sapi/cli/php:  not found.
make: 1254-004 The error code from the last command is 127.


db2 client v9.7 instance is in the /opt/IBM/db2/V9.7 directory and iconv is in /opt/freeware as well.

This error just doesn't match any other phar.php generation issues I could find in bugs.

Test script:
./configure --with-pdo-odbc=ibm-db2,/opt/IBM/db2/V9.7 --with-iconv=/opt/freeware


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2021-01-18 17:19 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-01-18 17:19 UTC]
Is that still an issue with any of the actively supported PHP

[1] <>
 [2021-01-31 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Jan 17 19:03:34 2022 UTC