David Thomas Baker » PHP » 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.

Posted by David Baker in: PHP |
Tags:
Perm Link: link
Some ads...

Search My Site

Featured Projects

Collector Comics is THE place to buy, sell, and research comics online. Launching soon.
Launch » Screenshot »
Webitor is a kick-ass easy to use, easy to extend, non-database driven Content Management System. Version 2 with reseller plan coming soon.
Launch » Version 1 »
GC Lounge is my own pet social network and test bed for social related code. Made by locals for locals.
Launch »
GG has indexed over half a million recent Trade Mark applications. This revolutionary tool is extremely valuable for industry experts.
Launch »
GCWiFi is the hub for techies interested in joining a ad-hoc wireless mesh spread across the Gold Coast
Launch »
Web based financial client management system
Launch »
OS Commerce modules and template modification
Launch »
View More Projects »

Daves Friends

BlueTeddy
WebSpark
GC Designer Forum
IPWealth Trademarks
Cheap Websites
Bonsai Shop
Webitor CMS Resellers
Hayley Crook
David Novakovic
Ben Novakovic
Richard Morwood
Gold Coast Linux
Aussie Click
CMS Website Design
Inspire Tuition
Gold Coast Music Network and Gold Coast Gig Guide

Chat with Dave

Powered by...

In the works

Webitor - Easy to use Content Management System with Shop, Newsletter, and Reseller plan