#41497 [Fbk]: php.ini not loaded

From: Date: Fri, 25 May 2007 23:15:31 +0000
Subject: #41497 [Fbk]: php.ini not loaded
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-113037@lists.php.net to get a copy of this message
ID: 41497 Updated by: sniper@php.net Reported By: dbjh at gmx dot net Status: Feedback Bug Type: PHP options/info functions Operating System: RHEL 4 PHP Version: 5.2.2 New Comment: Just tested latest 5.2 snapshot on a rhel4 machine and it worked just fine using exactly same ini config options as you pasted here. Are you sure this isn't some SELinux issue? Do you get any errors in /var/log/messages ?? Can you reproduce this with CLI ? Previous Comments: ------------------------------------------------------------------------ [2007-05-25 23:05:52] sniper@php.net 1) My reply was perfectly appropriate, you did not mention what configure line you had used nor that it worked in 5.2.0. 2) What exactly is said in phpinfo() output about what php.ini is loaded when you have it in /etc ? ------------------------------------------------------------------------ [2007-05-25 19:30:45] dbjh at gmx dot net Last message before I start looking at source code. On both Fedora Core 4 and Red Hat Enterprise Linux (4 & 5) I used the configure options '--with-config-file-path=/etc' and '--with-config-file-scan-dir=/etc/php.d'. ------------------------------------------------------------------------ [2007-05-25 19:18:14] dbjh at gmx dot net I should add that PHP 5.2.0 worked without problems on Fedora Core 4. I just compiled PHP 5.2.2 on Fedora Core 4 and there the problem doesn't show up. ------------------------------------------------------------------------ [2007-05-25 18:09:33] dbjh at gmx dot net Please read the description before closing the bug report. I've used the same options in combination with PHP 5.2.0. No problem whatsoever. So, your answer is completely inappropriate. ------------------------------------------------------------------------ [2007-05-25 17:34:47] sniper@php.net You've just used wrong configuration options. Please check "./configure --help" for more information. Note: all ini related options expect PATH to be passed, without the php.ini. (NOT full-path!) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/41497 -- Edit this bug report at http://bugs.php.net/?id=41497&edit=1

« previous php.bugs (#113037) next »