ID:               41497
 User updated by:  dbjh at gmx dot net
 Reported By:      dbjh at gmx dot net
 Status:           Open
 Bug Type:         PHP options/info functions
 Operating System: RHEL 4
 PHP Version:      5.2.2
 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------

[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] [EMAIL PROTECTED]

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!)

------------------------------------------------------------------------

[2007-05-25 13:25:45] dbjh at gmx dot net

The problem is also present on RHEL 5. The same workaround can be 
used. 
I meant phpinfo(), not php_info().

------------------------------------------------------------------------

[2007-05-25 11:46:51] dbjh at gmx dot net

Description:
------------
Problem: 
php.ini won't be loaded from /etc. When I set PHPIniDir in 
httpd.conf to /etc it still won't be loaded (judged from the output 
of php_info()). 
 
Workaround: 
When I set PHPIniDir to /etc/php/ and put php.ini in that directory 
it is loaded. Another workaround is putting php.ini in /etc/php.d/. 
In the latter case php_info() reports "(none)" at "Loaded 
Configuration File", but is mentioned at "additional .ini files 
parsed". Looking at other output of php_info() it is clear that it 
really is loaded. 
 



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=41497&edit=1

Reply via email to