#41497 [Opn->Bgs]: php.ini not loaded

From: Date: Wed, 20 Jun 2007 16:28:06 +0000
Subject: #41497 [Opn->Bgs]: php.ini not loaded
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-113970@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: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: RHEL 4 PHP Version: 5.2.2 New Comment: Not any PHP bug then. Previous Comments: ------------------------------------------------------------------------ [2007-06-18 13:53:07] dbjh at gmx dot net You were right about SELinux. When I set it to permissive there's no problem. ------------------------------------------------------------------------ [2007-05-25 23:15:31] sniper@php.net 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 ? ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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 (#113970) next »