PHP – make test “FAIL oci_bind_array_by_name()”
All oci8 PHP test’s fail when building php-5.2.5
# make test TESTS=ext/oci8
Running selected tests.
FAIL oci_bind_array_by_name() and invalid values 1 [ext/oci8/tests/array_bind_001.phpt]
FAIL oci_bind_array_by_name() and invalid values 2 [ext/oci8/tests/array_bind_002.phpt]
FAIL oci_bind_array_by_name() and invalid values 3 [ext/oci8/tests/array_bind_003.phpt]
FAIL oci_bind_array_by_name() and invalid values 4 [ext/oci8/tests/array_bind_004.phpt]
FAIL oci_bind_array_by_name() and invalid values 5 [ext/oci8/tests/array_bind_005.phpt]
FAIL oci_bind_array_by_name(), SQLT_CHR and default max_length [ext/oci8/tests/array_bind_006.phpt]
FAIL oci_bind_array_by_name() and invalid values 7 [ext/oci8/tests/array_bind_007.phpt]
FAIL oci_bind_array_by_name() and invalid values 8 [ext/oci8/tests/array_bind_008.phpt]
FAIL oci_bind_array_by_name() and invalid values 9 [ext/oci8/tests/array_bind_009.phpt]
FAIL oci_bind_array_by_name() and invalid values 8 [ext/oci8/tests/array_bind_010.phpt]
FAIL oci_bind_array_by_name(), SQLT_CHR, default max_length and empty array [ext/oci8/tests/array_bind_011.phpt]
etc.....
Solution -> RTFM
In the README file it explains you need to set the oracle connection details in order for the tests to work.
Another problem:
When trying to execute stored procedures that returned ref cursors I would get random apache seg faults.
[notice] child pid 16630 exit signal Segmentation fault (11)
update: upgrading to the 1.3.0 Beta version of OCI8 from PECL solved the problem.