|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-28 20:53 UTC] sniper@php.net
[2005-03-01 17:30 UTC] info at netzpilot dot ch
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 13:00:01 2025 UTC |
Description: ------------ The configuration file is not read. I compiled PHP --with-config-file-path=/etc/httpd and without it. I have put a php.ini at /etc/httpd and /usr/local/lib and many more places. Always did a restart of apache. I also gave all rights to php.ini. Reproduce code: --------------- echo "get_cfg_var('cfg_file_path') = " . get_cfg_var('cfg_file_path'); /* and this to check little changes in php.ini */ phpinfo(); Expected result: ---------------- the path to php.ini Actual result: -------------- compiled without '--with-config-file-path=/etc/httpd' my phpinfo says Configuration File (php.ini) Path: /usr/local/lib But changes in php.ini there have no effect.