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

 ID:                 52028
 Comment by:         matt at luggagepros dot com
 Reported by:        samuel dot deal at allomusic dot com
 Summary:            php.ini not loaded
 Status:             Open
 Type:               Bug
 Package:            *General Issues
 Operating System:   Linux Ubuntu 10.04
 PHP Version:        5.2.13
 Block user comment: N

 New Comment:

Confirmed.



PHP 5.2.14 on CentOS 5.4

Had used buildconf to add imagick PECL static extension.



Solution was to make clean, remove configure, buildconf (as root),
configure (with the same arguments), then make.


Previous Comments:
------------------------------------------------------------------------
[2010-06-09 11:51:27] samuel dot deal at allomusic dot com

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 this bug report at http://bugs.php.net/bug.php?id=52028&edit=1

Reply via email to