Bug #70407 [NEW]: php_cli program
| From: | admin at angosso dot net | Date: | Wed, 02 Sep 2015 11:28:58 +0000 |
| Subject: | Bug #70407 [NEW]: php_cli program | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-195694@lists.php.net to get a copy of this message | ||
From: admin at angosso dot net
Operating system: Linux; Windows; Mac
PHP version: 5.6.12
Package: Built-in web server
Bug Type: Bug
Bug description:php_cli program
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 bug report at https://bugs.php.net/bug.php?id=70407&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70407&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70407&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70407&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70407&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70407&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70407&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70407&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70407&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70407&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70407&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70407&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70407&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70407&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70407&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70407&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70407&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70407&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70407&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70407&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70407&r=mysqlcfg