Edit report at https://bugs.php.net/bug.php?id=60852&edit=1

 ID:                 60852
 Updated by:         paj...@php.net
 Reported by:        rcodron at ankama dot com
 Summary:            CLI doesn't read .user.ini
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            CGI/CLI related
 Operating System:   Linux
 PHP Version:        5.3.9
 Block user comment: N
 Private report:     N

 New Comment:

Expected, .user.ini is only supported by the CGI sapi. We have a feature 
request 
to make it work for other SAPIs.


Previous Comments:
------------------------------------------------------------------------
[2012-01-23 14:21:38] rcodron at ankama dot com

Description:
------------
if you try to run php cli in a sub dir like :
/usr/local/dir1/dir2/dir3/dir4/myphp.php where you have a .user.ini in dir4 php 
doesn't read the .user.ini



Test script:
---------------
.user.ini :
include_path = ".:/usr/local/dirA/dirB/dirC/frameworks/"

php /usr/local/dir1/dir2/dir3/dir4/myphp.php

in dir4 :
myphp.php
.user.ini

Expected result:
----------------
php load the .user.ini where the path of a custom lib



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=60852&edit=1

Reply via email to