Bug #70407 [Opn->Nab]: php_cli program
| From: | cmb@php.net | Date: | Wed, 02 Sep 2015 13:13:17 +0000 |
| Subject: | Bug #70407 [Opn->Nab]: php_cli program | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195700@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70407&edit=1
ID: 70407
Updated by: cmb@php.net
Reported by: admin at angosso dot net
Summary: php_cli program
-Status: Open
+Status: Not a bug
Type: Bug
Package: Built-in web server
Operating System: Linux; Windows; Mac
PHP Version: 5.6.12
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Consider to consult some EasyApache support forum.
Previous Comments:
------------------------------------------------------------------------
[2015-09-02 11:28:57] admin at angosso dot net
Description:
------------
User and function of the php_cli program with EasyApache 4+ machines.
php_cli program is a drop-in replacement for a PHP binary used on EasyApache 4+ machines that allows
for a command line program to run with the correct version of PHP configured for its environment.
The php_cli program sits in the /angosson/bin directory as the /angosson/bin/php file.
Test script:
---------------
php_cli.yaml file:
ea_php_yaml: /etc/apache2/conf.d/php.conf.yaml
testing_root_dir: /root/php_cli/test
php_bin_pattern: /opt/cpanel/ea-php%s/root/angosson/bin/php;
dryrun: 0
ea-php54: suphp
ea-php55: suphp
ea-php56: suphp
phpversion: ea-php56;
php /home/angosson/public_html/domain/app/angosson_angosso.php;
testing_root_dir parameter in the php_cli.yaml configuration file. The system will not ascend past
the testing_root_dir parameter in search of a .htaccess file.
Expected result:
----------------
Determine which PHP version and deploy scripts, the php_cli program checks the AddHandler
application/x-httpd-php54.php file, located in the .htaccess file.
PHP_INI_SCAN_DIR is set, then
php -i
outputs the path and any ini files.
If you enter
php --ini
the ini files are correct, but the scan directory is not.
php --ini is only showing th ...
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70407&edit=1