Edit report at https://bugs.php.net/bug.php?id=60459&edit=1
ID: 60459 Updated by: larue...@php.net Reported by: paulgao at yeah dot net Summary: phpinfo() don't display symlink ini file path! -Status: Assigned +Status: Wont fix Type: Bug Package: PHP options/info functions Operating System: LINUX PHP Version: 5.4.0RC2 Assigned To: laruence Block user comment: N Private report: N New Comment: Hi, after digging, this is intentional. see the commit : https://github.com/php/php-src/commit/e7d106f1 so won't fix. Previous Comments: ------------------------------------------------------------------------ [2011-12-07 15:24:23] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60459&edit=1