From:             
Operating system: Linux Ubuntu 10.04
PHP version:      5.2.13
Package:          *General Issues
Bug Type:         Bug
Bug description:php.ini not loaded

Description:
------------
My php.ini is not loaded when I'm using cgi module with Apache2



extract of phpinfo:

Configuration File (php.ini) Path       /etc/php5.2/cgi

Loaded Configuration File               (None)



I have this error compiling php 5.2.13.

Compiling the 5.2.10 version with the same compilation options and same
php.ini file and location does'nt produce this error.



I think I have done somethings wrong, it's such a big issue.

But I can't see what... perhaps a conflict with 5.3.2 version.



But this conflict doesn't exists for 5.2.10 version



System Config:

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

Ubuntu 10.04 x86 desktop

Apache 2.2.14

I have php 5.3.2 installed as cgi form ubuntu repository





Compilation Options:

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

./configure \

--sysconfdir=/etc \

--disable-debug \

--with-regex=php \

--disable-rpath \

--disable-static \

--with-pic \

--with-layout=GNU \

--with-pear=/usr/local/share/php5.2 \

--enable-calendar \

--enable-sysvsem \

--enable-sysvshm \

--enable-sysvmsg \

--enable-bcmath \

--with-bz2 \

--enable-ctype \

--with-db4 \

--without-gdbm \

--with-iconv \

--enable-exif \

--enable-ftp \

--with-gettext \

--enable-mbstring \

--with-pcre-regex=/usr \

--enable-shmop \

--enable-sockets \

--enable-wddx \

--with-libxml-dir=/usr \

--with-zlib \

--with-kerberos=/usr \

--with-openssl=/usr \

--enable-soap \

--enable-zip \

--with-mhash=yes \

--with-exec-dir=/etc/php5.2/libexec \

--with-config-file-path=/etc/php5.2/cgi \

--with-config-file-scan-dir=/etc/php5.2/cgi/conf.d \

--program-suffix=5.2



Make test results:

=====================================================================

TEST RESULT SUMMARY

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

Exts skipped    :   55

Exts tested     :   24

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



Number of tests : 8889              6569

Tests skipped   : 2320 ( 26.1%) --------

Tests warned    :    0 (  0.0%) (  0.0%)

Tests failed    :   11 (  0.1%) (  0.2%)

Expected fail   :    4 (  0.0%) (  0.1%)

Tests passed    : 6554 ( 73.7%) ( 99.8%)

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

Time taken      :  336 seconds

=====================================================================



=====================================================================

FAILED TEST SUMMARY

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

Bug #45877 (Array key '2147483647' left as string)
[Zend/tests/bug45877.phpt]

Test DateTime::modify() function : usage variation - Passing unexpected
values to first argument $modify.
[ext/date/tests/DateTime_modify_variation1.phpt]

Test date_modify() function : usage variation - Passing unexpected values
to second argument $format. [ext/date/tests/date_modify_variation2.phpt]

Test date_sunrise() function : usage variation - Passing unexpected values
to fifth argument zenith [ext/date/tests/date_sunrise_variation5.phpt]

Integer overflow [ext/filter/tests/046.phpt]

Test posix_kill(), posix_get_last_error and posix_strerror() functions :
basic functionality [ext/posix/tests/posix_kill_basic.phpt]

Test array_pad() function : usage variations - unexpected values for
'pad_size' argument(Bug#43482)
[ext/standard/tests/array/array_pad_variation2.phpt]

proc_open [ext/standard/tests/general_functions/proc_open02.phpt]

Test var_export() function with valid float values
[ext/standard/tests/general_functions/var_export_basic3.phpt]

time_sleep_until() function - basic test for time_sleep_until()
[ext/standard/tests/misc/time_sleep_until_basic.phpt]

Bug #32001 (xml_parse*() goes into infinite loop when autodetection in
effect), using UTF-* [ext/xml/tests/bug32001.phpt]

=====================================================================



=====================================================================

EXPECTED FAILED TEST SUMMARY

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

output buffering - fatalism [tests/output/ob_011.phpt]

ob_start(): Ensure unerasable buffer cannot be flushed by ob_flush()
[tests/output/ob_start_basic_unerasable_005.phpt]

Bug #42718 (unsafe_raw filter not applied when configured as default
filter) [ext/filter/tests/bug42718.phpt]

SPL: ArrayObject::exchangeArray() basic usage with object as underlying
data store. [ext/spl/tests/arrayObject_exchangeArray_basic3.phpt]

=====================================================================








-- 
Edit bug report at http://bugs.php.net/bug.php?id=52028&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=52028&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=52028&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=52028&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=52028&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=52028&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=52028&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=52028&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=52028&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=52028&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=52028&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=52028&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=52028&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=52028&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=52028&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=52028&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=52028&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=52028&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=52028&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=52028&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=52028&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=52028&r=mysqlcfg

Reply via email to