php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60459 phpinfo() don't display symlink ini file path!
Submitted: 2011-12-07 15:24 UTC Modified: 2012-08-24 12:20 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: paulgao at yeah dot net Assigned: laruence (profile)
Status: Wont fix Package: PHP options/info functions
PHP Version: 5.4.0RC2 OS: LINUX
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: paulgao at yeah dot net
New email:
PHP Version: OS:

 

 [2011-12-07 15:24 UTC] paulgao at yeah dot net
Description:
------------
phpinfo() dipsy ini file path, 5.3 version display true file path, 5.4 version not display...

file path:
[root@localhost lib]# cd /usr/local/php/lib
[root@localhost lib]# ls -al
total 904
drwxr-xr-x. 3 root root   4096 Nov 14 23:52 .
drwxr-xr-x. 9 root root   4096 Nov 12 10:41 ..
lrwxrwxrwx. 1 root root     45 Nov 12 17:07 php.ini -> /home/codebase/server-config/php-api-test.ini

Test script:
---------------
<?php phpinfo(); ?>

Expected result:
----------------
Loaded Configuration File => /usr/local/php/lib/php.ini

Actual result:
--------------
Loaded Configuration File => /home/codebase/server-config/php-api.ini

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-08-21 16:00 UTC] laruence@php.net
-Assigned To: +Assigned To: laruence
 [2012-08-24 12:20 UTC] laruence@php.net
-Status: Assigned +Status: Wont fix
 [2012-08-24 12:20 UTC] laruence@php.net
Hi, after digging,  this is intentional.  see the commit : 
https://github.com/php/php-src/commit/e7d106f1

so won't fix.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 12:01:31 2024 UTC