|  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
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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: paulgao at yeah dot net
New email:
PHP Version: OS:


 [2011-12-07 15:24 UTC] paulgao at yeah dot net
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


Add a Patch

Pull Requests

Add a Pull Request


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

so won't fix.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Apr 12 04:01:24 2021 UTC